I have this in my .vimrc:

autocmd FileType lisp,scheme setlocal commentstring=;%s
autocmd BufEnter,BufNewFile *.coffee setlocal filetype=coffee
autocmd BufEnter,BufNewFile *.styl setlocal filetype=stylus

Should this be needed?  Shouldn't comments in lisp start w/';' by
default and coffeescript files have the coffee filetype when opened?
I've seen some plugins have 'ftdetect' folders (or files?), is that
what's needed here?

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui