I\'ve installed a fresh Arch Linux system on my laptop and downloaded the vim package.
I haven\'t altered the .vimrc file, but the syntax highlighting doesn\'t seem to w
Type
:syntax on
to get it to work. It is not a default option for vim
. Probably in the other systems, it was set to on in the system default vimrc
Or put
syntax on
in ~/.vimrc
vi /etc/profile
alias vi=vim
maybe you use vi instead of vim
Another reason syntax highlighting won't work is you might have a theme/colorscheme set that VIM cannot find.
colorscheme darkblue
Either delete the line or comment it out:
"colorscheme darkblue