vim. set commentstring

Fixes bug 528.
This commit is contained in:
Johann Klähn 2012-04-22 15:41:57 +02:00
parent 7cc550fc22
commit dc0264aca1

View file

@ -11,7 +11,7 @@ let b:did_ftplugin = 1
let b:undo_ftplugin = "setlocal ". let b:undo_ftplugin = "setlocal ".
\ "foldmethod< foldtext< ". \ "foldmethod< foldtext< ".
\ "include< comments< omnifunc< formatprg<" \ "include< comments< commentstring< omnifunc< formatprg<"
" don't fill fold lines --> cleaner look " don't fill fold lines --> cleaner look
setl fillchars="fold: " setl fillchars="fold: "
@ -19,6 +19,7 @@ setl foldtext=LedgerFoldText()
setl foldmethod=syntax setl foldmethod=syntax
setl include=^!include setl include=^!include
setl comments=b:; setl comments=b:;
setl commentstring=;%s
setl omnifunc=LedgerComplete setl omnifunc=LedgerComplete
" set location of ledger binary for checking and auto-formatting " set location of ledger binary for checking and auto-formatting