vim where to put syntax plugins
my home has a .viminfo file but no .vim directory so where am i supposed to put syntax plugins.
MacBook Pro, Mac OS X (10.7.2)
my home has a .viminfo file but no .vim directory so where am i supposed to put syntax plugins.
MacBook Pro, Mac OS X (10.7.2)
I'm not sure what you are asking.
Anything you put into your own mine.vim syntax file, if stored in the correct location will be loaded automatically by Vim when you enable syntax coloring via the ":syntax enable" command, which you would normally put in your $HOME/.vimrc file.
I have a correction for the original reply. Your own personal syntax files should be put into
mkdir -p $HOME/.vim/syntax
Vim might find the files in $HOME/.vim, but the ":help syntax" says they should be put in $HOME/.vim/syntax
And your .vimrc file should include
syntax enable
If this does not help, could you please provide more information about what you really want.
Hi there,
I am one step before that, does anyone knows do I add syntax colors to vim from start ?
Cheers !
In the .vim directory, after you create it.
vim where to put syntax plugins