how to permanently enable syntax highlghting in VIM?
Mitch
flik at barkingants.com
Sun Nov 4 16:28:28 UTC 2007
On Thu, 18 Oct 2007, Gabriel Dragffy wrote:
> In particluar for PHP and Ruby.
>
Assuming the right sytax files are in place (ruby.vim, php.vim), adding
one of the following commands to ~/.vimrc should do the trick:
syntax enable # respects your color settings
syntax on # overrides your color settings
Either way, you would do good to open vim and type:
:he syntax
--
Mitch
More information about the ubuntu-users
mailing list