diff options
author | Johann Klähn <kljohann@gmail.com> | 2012-04-22 15:41:57 +0200 |
---|---|---|
committer | Johann Klähn <kljohann@gmail.com> | 2012-04-22 15:41:57 +0200 |
commit | dc0264aca176860f66b680d6e1f85abd8372dcb9 (patch) | |
tree | 80d52db1c61ccfc323e4113b9cb74d874f944ed6 /contrib/vim/ftplugin/ledger.vim | |
parent | 7cc550fc22357e2ded194d3e65287c6b3317f5ae (diff) | |
download | fork-ledger-dc0264aca176860f66b680d6e1f85abd8372dcb9.tar.gz fork-ledger-dc0264aca176860f66b680d6e1f85abd8372dcb9.tar.bz2 fork-ledger-dc0264aca176860f66b680d6e1f85abd8372dcb9.zip |
vim. set commentstring
Fixes bug 528.
Diffstat (limited to 'contrib/vim/ftplugin/ledger.vim')
-rw-r--r-- | contrib/vim/ftplugin/ledger.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/vim/ftplugin/ledger.vim b/contrib/vim/ftplugin/ledger.vim index 63de88b5..0067f9f8 100644 --- a/contrib/vim/ftplugin/ledger.vim +++ b/contrib/vim/ftplugin/ledger.vim @@ -11,7 +11,7 @@ let b:did_ftplugin = 1 let b:undo_ftplugin = "setlocal ". \ "foldmethod< foldtext< ". - \ "include< comments< omnifunc< formatprg<" + \ "include< comments< commentstring< omnifunc< formatprg<" " don't fill fold lines --> cleaner look setl fillchars="fold: " @@ -19,6 +19,7 @@ setl foldtext=LedgerFoldText() setl foldmethod=syntax setl include=^!include setl comments=b:; +setl commentstring=;%s setl omnifunc=LedgerComplete " set location of ledger binary for checking and auto-formatting |