nathangrigg / vim-beancount

Vim ftplugin for beancount
161 stars 41 forks source link

Respect b:beancount_root in ale linter #62

Closed jonsmithers closed 3 years ago

jonsmithers commented 4 years ago

The bean_check ale linter now runs against the root beancount file defined by b:beancount_root if it is set. Errors from bean-check that do not correspond to the current file will be reported on line 0.

Addresses #35. With this change, ALE will no longer yell at users when they edit non-main files simply because their accounts are opened in a different file.

xentac commented 3 years ago

Thanks!