ledger / vim-ledger

Vim plugin for Ledger
GNU General Public License v2.0
370 stars 56 forks source link

Disable spell check for account and commodity names #132

Open flux77 opened 2 years ago

flux77 commented 2 years ago

Please disable spell checking in account names and commodity names. It's a bit silly that currency codes (e.g. CNY, JPY) and bank names (e.g. ICBC, Mizuho) are considered "spelling mistakes" in account and commodity names.

Example where all account and commodity names are considered "spelling mistakes":

account Assets:GiantBank
account Income:MegaLoto

commodity CNY
commodity JPY

2022-01-01 Won the lottery
    Assets:GiantBank  1234 JPY
    Income:MegaLoto
alerque commented 2 years ago

Sounds fair enough! I'm a bit busy ATM but I should be able to facilitate a PR along these lines if somebody submits one.