13
7
I have installed vim 7.3 under cygwin.
And I have this in my ~/.vimrc
$ cat .vimrc
colorscheme wombat
And then I have this file wombat.vim under '.vim/colors'.
$ ls -la .vim/colors/
total 8.0K
drwxrwxr-x+ 1 cheungs mkgroup 0 Nov 12 00:04 ./
drwxrwxr-x+ 1 cheungs mkgroup 0 Nov 12 00:04 ../
-rw-r--r-- 1 cheungs mkgroup 1.5K Nov 12 00:04 wombat.vim
But when I 'vim AJavaFile.java', it shows no color, just black and white.
How can I fix it? I have the same settings under Ubuntu, and that works.
Thank you.
I had to set cygwin type terminal (Options -> Terminal) to "xterm-256color" to get working – brrystrw – 2015-02-20T11:53:05.453
This breaks highlighting for me on VIM 8.0 See here
– Gert van den Berg – 2017-06-21T11:28:10.393This should be the accepted answer, it worked perfectly for me. Thanks buddy. P.S. I recommend adding "hi Comment ctermfg=LightBlue" in the ~/.vimrc so comments are more visible – Iancovici – 2014-05-12T11:19:11.830
Thanks, echad, I was wondering how to get my comment lines more visible! – Glenn Strycker – 2014-05-12T19:47:48.453