tcomment_vim
tcomment_vim copied to clipboard
how to add new type
Hi Tomtom
I tried to add this line to tcomment.vba
call tcomment#DefineType('lst', '# %s' )
then do
:so %
but it still doesn't work for file *.lst
It the flow is right ?
thanks
|call tcomment#DefineType('lst', '# %s' )| then do |:so %| but it still doesn't work for file *.lst
File extension don't necessarily map onto filetypes. Please see :h new-filetype
, especially the note C2 on the ~/.vim/filetype.vim
file.