On Thu, Mar 4, 2010 at 11:36 AM, Charles Campbell <[email protected]> wrote: > To make a custom C++ syntax file, I suggest: > > mkdir -p $HOME/.vim/syntax > cp $VIMRUNTIME/syntax/cpp.vim $HOME/.vim/syntax > > and modify $HOME/.vim/syntax/cpp.vim to suit.
It depends on the complexity of what's being added. If it can stand on its own, $HOME/.vim/after/syntax/cpp.vim would likely be better so future updates to upstream's cpp.vim aren't lost. -- James GPG Key: 1024D/61326D40 James Vega <[email protected]> -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
