In my .vimrc
I have the following snippet:
if has('autocmd')
filetype plugin indent on
syntax on
but when I start vim it shows the following error:
Can't open file /usr/share/vim/syntax/syntax.vim
error seems to have occurred on syntax on
line in .vimrc
.
I do not have syntax.vim
in path /usr/share/vim/syntax
though I have others like clojure.vim cpp.vim java.vim etc...
I searched but can't seem to find the default syntax.vim
if it comes with default version of vim.
I've been stuck with this for a while and would like some help.