I compiled vim 8.1 for Ubuntu 16.04 x64, from source, by following Valloric's excellent guide on the subject. Although that guide is for an older version, it was really simple to check out the correct version I wanted using git.
./configure with the same options as that guide, except for the following:
- I omitted Python 2 support since Python 2 + Python 3 support is a bit messy.
- I set
After this, I ran the following commands
mkdir /mnt/my_data_drive/software/vim/vim81 make VIMRUNTIMEDIR=/mnt/my_data_drive/software/vim/vim81 make install
After this, the bin, and share folders were created correctly, but the vim81 folder was empty.
If I tried setting VIMRUNTIMEDIR for make install, it made no difference. If I fail to create vim81, the directory is not created for me.
As a result of this, I'm unable to turn syntax highlighting on in my .vimrc. The line simply results in:
syntax.vim: No such file or directory.
Could you please help me solve this issue?