set commentstring

This commit is contained in:
Zhao Cai 2012-11-02 05:32:08 -04:00
parent 9aa9ce6ea2
commit 6a6db2d411

View File

@ -34,9 +34,10 @@ endif
setlocal expandtab
let &l:shiftwidth=&tabstop
let &l:softtabstop=&tabstop
let &l:commentstring="#%s"
let b:undo_ftplugin .= '
\ | setlocal expandtab< shiftwidth< softtabstop< tabstop<
\ | setlocal expandtab< shiftwidth< softtabstop< tabstop< commentstring<
\'
let &cpo = s:save_cpo