Skip to main content

New answers tagged

0 votes

How can I make highlighting commands in .vimrc take effect immediately with Vim 7.4?

So, I know this is late to the game, but I have the same issue and I have figured out that the root cause is that color names aren't loaded yet when the vim script file is run. For example, if I add: ...
Forseti's user avatar
3 votes

Better to edit $VIMRUNTIME/filetype.vim or add a script in $HOME/vimfiles/ftdetect?

For sure not to edit $VIMRUNTIME/filetype.vim since it is part of the distribution. The alternatives you have are: ~/vimfiles/ftdetect/*.vim or ~/vimfiles/filetype.vim I would first use ~/vimfiles/...
Vivian De Smedt's user avatar

Top 50 recent answers are included