ap wrote: > >On Sep 21, 2:53 pm, "björn" <[EMAIL PROTECTED]> wrote: > > >>Hi, >> >>I have added new commands to Vim (i.e. to ex_cmds.h) and I would like >>them to be properly highlighted when I edit .vim files (e.g. .gvimrc). >> I looked at runtime/syntax/vim.vim and from a comment therein I >>gather that this file is automatically generated, so I don't dare to >>add my commands "manually". My question is how do I generate this >>file? Or can I just add my new commands directly to it? >> >>Thanks, >>Björn >> >> > >One line vim syntax/vim.vim suggests, that it is generated by >something >called 'mkvimvim'. I am shure the author of the syntax file knows >more about this. > > mkvimvim is a script which extracts a number of functions, commands, and whatnot from the vim documentation and generates about half of syntax/vim.vim. You should place any syntax highlighting additions into ~/.vim/after/syntax/vim.vim .
Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---