Language support for HLedger command-line accounting journal files.
- Syntax highlighting
- Account Tab Completion
- No highlighting of amounts (numbers)
We have golden file tests under tests/cases
, containing example
.in.hledger
files, and syntax-highlighted .want
files. Run the tests with
mocha -r ts-node/register tests/test.ts
.
If you've examined the differences and they're expected, rebuild the golden files by running
ts-node tests/main.ts tests/cases/*.in.hledger
.