aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/beancount.vim
diff options
context:
space:
mode:
authorJakob Schnitzer2017-03-14 19:57:46 -0300
committerJakob Schnitzer2017-03-20 13:48:58 -0300
commitff250e32b2e74fe3ca6c2e85abf4e8c3eff230cf (patch)
treed607d6bfd804bd238916f7688dbd1becee3aecf6 /ftplugin/beancount.vim
parentc17a7a4c0da18de586a96051a586cc2ad22ad421 (diff)
downloadvim-beancount-ff250e32b2e74fe3ca6c2e85abf4e8c3eff230cf.tar.gz
remove unnecessary option; lint and minor improvements
Beancount only supports '.' as decimal separator so making the decimal separator configurable doesn't serve any purpose and might confuse users. Make the regular expression matching in beancount#align_commodity a bit more precise.
Diffstat (limited to '')
-rw-r--r--ftplugin/beancount.vim5
1 files changed, 1 insertions, 4 deletions
diff --git a/ftplugin/beancount.vim b/ftplugin/beancount.vim
index 696e9e0..b6e3540 100644
--- a/ftplugin/beancount.vim
+++ b/ftplugin/beancount.vim
@@ -10,13 +10,10 @@ setl comments=b:;
setl commentstring=;%s
compiler beancount
-" These two variables customize the behavior of the AlignCommodity command.
+" 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'
endif