I ran vint on the codebase, which turned up some inconsistencies, the files I edited now all pass the linter. (It's mostly using settings-independent comparisons and always declaring scope for variables, which curiously helps with the syntax hightlighting of the source)
Also, I've removed the g:beancount_decimal_separator option. From the commit:
Beancount only supports '.' as decimal separator so making the decimal
separator configurable doesn't serve any purpose and might confuse
users.
In addition, I've fixed the indent plugin for custom root accounts and fixed the suggested insert mode map in the documentation.
I ran vint on the codebase, which turned up some inconsistencies, the files I edited now all pass the linter. (It's mostly using settings-independent comparisons and always declaring scope for variables, which curiously helps with the syntax hightlighting of the source)
Also, I've removed the
g:beancount_decimal_separator
option. From the commit:In addition, I've fixed the indent plugin for custom root accounts and fixed the suggested insert mode map in the documentation.