A server only has old versions of vim available in the repo, so I compile and run vim from my ~.
Starting vim it complains
line 2: E484: Can't open file /usr/local/share/vim/syntax/syntax.vim
Where line 2 is where I have
syntax on. This is obviously caused by the file not being present on the system.
let $VIMRUNTIME="/home/[user]/vim74/runtime/" makes the error go away, however I still get no syntax highlightning what so ever.
I've checked that
/home/[user]/vim74/runtime/" has a syntax directory containing hundreds of [language].vim files.
I've tried commenting out the rest of my settings to make sure I have nothing else interfering.
What am I missing?
$ vim --version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 6 2015 15:34:54)