From ff250e32b2e74fe3ca6c2e85abf4e8c3eff230cf Mon Sep 17 00:00:00 2001 From: Jakob Schnitzer Date: Tue, 14 Mar 2017 19:57:46 -0300 Subject: 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. --- ftplugin/beancount.vim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ftplugin/beancount.vim') 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 -- cgit v1.2.3-2-gb3c3