In my installation of vim 8.1 (compiled from source) syntax highlighting is not working. The runtime path ($VIMRUNTIME) is set to
/XYZ/VIM8/installnew/share/vim/vim81
which contains (autoload, colors, ftpligin, doc, keymap, spells, tutor etc..)
Futhermore, vimrc also contains
filetype plugin on
syntax on
in addition, the default folder .vim also contains a large selection of colors. Furthermore,
echo &rtp prints:
/XYZ/.vim,/XYZ/.vim/pack/bundle/start/l9,/XYZ/.vim/pack/bundle/start/ack,/XYZ/.vim/pack/bundle/start/FuzzyFinder
Yet, I am getting the error:
E185: Cannot find color scheme 'darkblue'
Press ENTER or type command to continue
The colors are not highlighted. In addition colorscheme <tab>
yields no result.
I tried various colors in the above mentioned folders but none worked. What is the cause of this problem?
/XYZ/VIM8/installnew/share/vim/vim81/colors/darkblue.vim
exist? What does:echo &rtp
print? Please update question.