how to permanently enable syntax highlghting in VIM?

Gabriel Dragffy gabe at dragffy.com
Thu Oct 18 11:09:45 UTC 2007


On 18 Oct 2007, at 09:20, Benjamin E. Zeller wrote:

> On Thursday 18 October 2007 09:22:37 Ruben Laban wrote:
>> On Thursday 18 October 2007, Gabriel Dragffy wrote:
>>> In particluar for PHP and Ruby.
>>
>> $ grep syn /etc/vim/vimrc
>> " Vim5 and later versions support syntax highlighting.  
>> Uncommenting the
>> next " line enables syntax highlighting by default.
>> "syntax on

but what is wrong with it, I made the change and now I always get an  
error:

Error detected while processing /usr/share/vim/vimrc:
line   20:
E319: Sorry, the command is not available in this version: syntax on
Press ENTER or type command to continue






More information about the ubuntu-users mailing list