nathangrigg / vim-beancount

Vim ftplugin for beancount
161 stars 41 forks source link

Fixes and lint #39

Closed yagebu closed 7 years ago

yagebu commented 7 years ago

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.