Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2021-03-17 | Use Tag and Special for tags and metadata, resp. | Mark Lodato | -2/+2 | |
Previously tags and metadata used the Comment group, which didn't make much sense and caused everything to blend together. Now they use their own groups which allows them to stand out. | ||||
2021-03-17 | Highlight multi-line plugin definitions correctly | Wolfgang Müller | -1/+1 | |
vim's :syn-keepend is used to end any contained syntax group when its container group ends. The syntax file defines the end of a plugin definition as the end of the line, breaking multi-line plugin definitions that are common in our ledger. Remove the 'keepend' option to fix this. | ||||
2017-02-25 | Update syntax to handle per-leg flags better. | Nathan Grigg | -2/+5 | |
2016-11-11 | add back support for `*` transaction flag | Jakob Schnitzer | -2/+2 | |
2016-10-07 | Improve flag support | Konstantin Mikhailov | -4/+5 | |
Beancount allows to attach flags to transactions and even to the postings themselves. At the moment it supports 12 different flags. Full list can be found in beancount sources https://bitbucket.org/blais/beancount/src/tip/src/python/beancount/parser/lexer.l?fileviewer=file-view-default#lexer.l-199 The commit updates syntax highlighting and AlignCommodity function to respect all flags. | ||||
2016-09-30 | Fix highlight of txn directive | Konstantin Mikhailov | -1/+1 | |
txn directive is mutually exclusive with flags (!*) | ||||
2016-04-25 | Allow dates to be slash-separated | Nathan Grigg | -2/+2 | |
(#17) | ||||
2016-04-24 | Allow underscores and capital letters in meta keys | Zhuoyun Wei | -1/+1 | |
2016-02-01 | Add fold rules for markdown style sections | Jason Chu | -0/+12 | |
2015-12-08 | Highlight `include` keyword | Yuchen Ying | -0/+2 | |
2015-04-04 | Highlight tag part of pushtag/poptag | Nathan Grigg | -1/+2 | |
2015-02-10 | Don't allow directives to eat the end character. | Nathan Grigg | -12/+13 | |
Fixes #3. | ||||
2015-02-10 | Enable syntax-based folding of transactions | Aaron Bull Schaefer | -1/+1 | |
This is much more useful compared to using just foldmethod=marker, and it could be enhanced to support other multi-line items in the future. | ||||
2015-02-10 | Properly highlight syntax containing hyphens and numbers | Aaron Bull Schaefer | -3/+3 | |
This PR fixes a few things: 1. Allow numbers within tags; tested to be valid and shown in the upstream documentation. 2. Padding directives have a date before them, so they should not be anchored at the beginning of the line. 3. Hypens are allowed in meta-data attribute names; tested to be valid and shown in the upstream documentation. | ||||
2015-01-22 | Allow hyphens in tags | Nathan Grigg | -1/+1 | |
2014-12-31 | Allow hyphen in account name | Nathan Grigg | -1/+1 | |
2014-12-31 | tags, links, and metadata syntax highlighting | Nathan Grigg | -3/+9 | |
2014-11-21 | Fix up syntax highlighting | Nathan Grigg | -6/+8 | |
2014-11-03 | Move price syntax to its own definition | Nathan Grigg | -2/+4 | |
2014-11-01 | Add price command to syntax defintion | Nathan Grigg | -1/+1 | |
2014-10-07 | First try for syntax file | Nathan Grigg | -0/+62 | |