Skip to content

Commit b84b720

Browse files
committed
Disable spelling of the amount by default.
1 parent f5d160e commit b84b720

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/ledger.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,9 @@ behaviour of the ledger filetype.
304304

305305
let g:ledger_commodity_sep = ''
306306

307-
* Flag that disable the spelling of the amount:
307+
* Flag that enable the spelling of the amount:
308308

309-
let g:ledger_commodity_spell = 0
309+
let g:ledger_commodity_spell = 1
310310

311311
* Format of transaction date:
312312

syntax/ledger.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if s:fb == 1
2222
endif
2323

2424
let s:ledgerAmount_contains = ''
25-
if get(g:, 'ledger_commodity_spell', 1) == 0
25+
if get(g:, 'ledger_commodity_spell', 0) == 0
2626
let s:ledgerAmount_contains .= '@NoSpell'
2727
endif
2828

0 commit comments

Comments
 (0)