aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/beancount.vim
diff options
context:
space:
mode:
authorxentac2017-03-26 10:47:01 -0700
committerGitHub2017-03-26 10:47:01 -0700
commitb893e138381be12a7a03a1a3b738907067b0348f (patch)
tree1809329c0ba34f6d0ab6e3dd94b27f3ae316699b /ftplugin/beancount.vim
parent4c19b4957ab7931fc2467b225b7a61b1215c6581 (diff)
parent6600558bc68b5a42ac59cca8fd2cac4dac7f8417 (diff)
downloadvim-beancount-b893e138381be12a7a03a1a3b738907067b0348f.tar.gz
Merge pull request #39 from yagebu/fixes-and-lint
Fixes and lint
Diffstat (limited to '')
-rw-r--r--ftplugin/beancount.vim18
1 files changed, 7 insertions, 11 deletions
diff --git a/ftplugin/beancount.vim b/ftplugin/beancount.vim
index c99e2de..b6e3540 100644
--- a/ftplugin/beancount.vim
+++ b/ftplugin/beancount.vim
@@ -1,28 +1,24 @@
-" 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")
+" This variable customizes 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 = "."
-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