Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Use Tag and Special for tags and metadata, resp. | Mark Lodato | 2021-03-17 | -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. | |||
* | Highlight multi-line plugin definitions correctly | Wolfgang Müller | 2021-03-17 | -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. | |||
* | Update syntax to handle per-leg flags better. | Nathan Grigg | 2017-02-25 | -2/+5 |
| | ||||
* | add back support for `*` transaction flag | Jakob Schnitzer | 2016-11-11 | -2/+2 |
| | ||||
* | Improve flag support | Konstantin Mikhailov | 2016-10-07 | -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. | |||
* | Fix highlight of txn directive | Konstantin Mikhailov | 2016-09-30 | -1/+1 |
| | | | | txn directive is mutually exclusive with flags (!*) | |||
* | Allow dates to be slash-separated | Nathan Grigg | 2016-04-25 | -2/+2 |
| | | | | (#17) | |||
* | Allow underscores and capital letters in meta keys | Zhuoyun Wei | 2016-04-24 | -1/+1 |
| | ||||
* | Add fold rules for markdown style sections | Jason Chu | 2016-02-01 | -0/+12 |
| | ||||
* | Highlight `include` keyword | Yuchen Ying | 2015-12-08 | -0/+2 |
| | ||||
* | Highlight tag part of pushtag/poptag | Nathan Grigg | 2015-04-04 | -1/+2 |
| | ||||
* | Don't allow directives to eat the end character. | Nathan Grigg | 2015-02-10 | -12/+13 |
| | | | | Fixes #3. | |||
* | Merge branch 'elasticdog-syntax-folding' | Nathan Grigg | 2015-02-10 | -1/+1 |
|\ | ||||
| * | Enable syntax-based folding of transactions | Aaron Bull Schaefer | 2015-02-10 | -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. | |||
* | | Properly highlight syntax containing hyphens and numbers | Aaron Bull Schaefer | 2015-02-10 | -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. | |||
* | Allow hyphens in tags | Nathan Grigg | 2015-01-22 | -1/+1 |
| | ||||
* | Allow hyphen in account name | Nathan Grigg | 2014-12-31 | -1/+1 |
| | ||||
* | tags, links, and metadata syntax highlighting | Nathan Grigg | 2014-12-31 | -3/+9 |
| | ||||
* | Fix up syntax highlighting | Nathan Grigg | 2014-11-21 | -6/+8 |
| | ||||
* | Move price syntax to its own definition | Nathan Grigg | 2014-11-03 | -2/+4 |
| | ||||
* | Add price command to syntax defintion | Nathan Grigg | 2014-11-01 | -1/+1 |
| | ||||
* | First try for syntax file | Nathan Grigg | 2014-10-07 | -0/+62 |