On 2009-02-16 22:43 (-0800), sakki wrote:
> One solution is to keep the filetype as "c", and add the extensions in
> after/syntax/c.vim and after/ftplugin/c.vim, but I'm looking for a
> solution in which I could define a new filetype - though I don't know
> whether it is possible?
Does dotted filetype definition work? Detect your own filetype and set
the filetype to "c.myc" where "myc" is your own filetype. Something like
this:
augroup filetypedetect
autocmd BufNewFile,BufRead *.myc setf c.myc
augroup END
And perhaps your ~/.vim/after/*/myc.vim files get loaded.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---