tcomment_vim icon indicating copy to clipboard operation
tcomment_vim copied to clipboard

how to add new type

Open northernSky opened this issue 7 years ago • 1 comments

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

northernSky avatar Jan 24 '18 04:01 northernSky

|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.

tomtom avatar Jan 25 '18 18:01 tomtom