diff options
author | Jakob Schnitzer | 2017-03-14 19:56:34 -0300 |
---|---|---|
committer | Jakob Schnitzer | 2017-03-20 13:48:58 -0300 |
commit | 399ab749338dcfb6e03c1ee918d770b315783ade (patch) | |
tree | 0392b0f53534d28ca5c13b217b4043f33dbff06f | |
parent | 5bcb659d4da83af4e07ee1da72deab41145c6d0d (diff) | |
download | vim-beancount-399ab749338dcfb6e03c1ee918d770b315783ade.tar.gz |
ftplugin lint and fix one comment
-rw-r--r-- | ftplugin/beancount.vim | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/ftplugin/beancount.vim b/ftplugin/beancount.vim index c99e2de..696e9e0 100644 --- a/ftplugin/beancount.vim +++ b/ftplugin/beancount.vim @@ -1,28 +1,27 @@ -" These two variables customize the behavior of the AlignCommodity command. - -if exists("b:did_ftplugin") - finish +if exists('b:did_ftplugin') + finish endif let b:did_ftplugin = 1 -let b:undo_ftplugin = "setlocal foldmethod< comments< commentstring<" +let b:undo_ftplugin = 'setlocal foldmethod< comments< commentstring<' setl foldmethod=syntax setl comments=b:; setl commentstring=;%s compiler beancount -if !exists("g:beancount_separator_col") +" These two variables customize the behavior of the AlignCommodity command. +if !exists('g:beancount_separator_col') let g:beancount_separator_col = 50 endif -if !exists("g:beancount_decimal_separator") - let g:beancount_decimal_separator = "." +if !exists('g:beancount_decimal_separator') + let g:beancount_decimal_separator = '.' endif if !exists('g:beancount_account_completion') - let g:beancount_account_completion = 'default' + let g:beancount_account_completion = 'default' endif if !exists('g:beancount_detailed_first') - let g:beancount_detailed_first = 0 + let g:beancount_detailed_first = 0 endif command! -buffer -range AlignCommodity |