sakki wrote: > I know how to detect the filetype, but what I am missing is > how to make my new filetype almost like an existing filetype > + add a few extensions. In my case the new filetype is like C > but I want to add a few new keywords for syntax highlighting > and some mappings.
Sorry, I misread your question. Some docs are at :help ftplugin-overrule I have only customised a filetype with some extra stuff in an after directory. Someone will probably give better advice, but for what you want I would look at vim72/syntax/cpp.vim which invokes c.vim and does extra stuff. John --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
