This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: no syntax highlighting in cygwin / vim
- From: Glenn Strycker <glenn dot strycker at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 1 May 2014 15:05:19 -0500
- Subject: Re: no syntax highlighting in cygwin / vim
- Authentication-results: sourceware.org; auth=none
"syntax on" does not seem to be supported in the Cygwin version of
vim. When I include this in my .vimrc file, I get the following
error:
$ vi -u .vimrc .vimrc
Error detected while processing /home/gstrycker/.vimrc:
line 11:
E319: Sorry, the command is not available in this version: syntax on
Press ENTER or type command to continue
Also, I tried to make a /usr/share/vim/vimrc file, but it does not
seem to be loading automatically. Do I need to add something to my
path, or an environment variable (e.g. "vimpath"?) or something?
Note that there is a similar thread to these questions here:
http://superuser.com/questions/505761/how-to-get-vim-color-mode-to-work-in-vim-under-cygwin
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple