diff options
author | Jakob Schnitzer | 2017-03-14 19:57:46 -0300 |
---|---|---|
committer | Jakob Schnitzer | 2017-03-20 13:48:58 -0300 |
commit | ff250e32b2e74fe3ca6c2e85abf4e8c3eff230cf (patch) | |
tree | d607d6bfd804bd238916f7688dbd1becee3aecf6 /doc/beancount.txt | |
parent | c17a7a4c0da18de586a96051a586cc2ad22ad421 (diff) | |
download | vim-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 'doc/beancount.txt')
-rw-r--r-- | doc/beancount.txt | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/doc/beancount.txt b/doc/beancount.txt index 048a6c6..2c7a20e 100644 --- a/doc/beancount.txt +++ b/doc/beancount.txt @@ -34,15 +34,14 @@ COMMANDS *beancount-commands* will be pushed to the right the appropriate amount, so that it remains on the same character. - The alignment character can be set using - |g:beancount_decimal_separator|. The script assumes the - use of spaces for alignment. It does not understand tabs. + The script assumes the use of spaces for alignment. It + does not understand tabs. You can use the following insert-mode remap to automatically align commodities every time you type a decimal point: > - inoremap . .<C-O>:AlignCommodity<CR> + inoremap . .<C-\><C-O>:AlignCommodity<CR> < You may also want to set other mappings for this. For example, I use > @@ -79,11 +78,6 @@ OPTIONS *beancount-options* Default value: 50 -*g:beancount_decimal_separator* - Set the decimal separator that numbers are aligned by. - - Default value: '.' - *b:beancount_root* Set the root Beancount file. This is used to gather values for the completion. If not set, the current file will be used. |