aboutsummaryrefslogtreecommitdiffstats
path: root/syntax (follow)
Commit message (Collapse)AuthorAgeLines
* add commodity directiveMark Lodato2021-03-17-1/+3
|
* Use Tag and Special for tags and metadata, resp.Mark Lodato2021-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 correctlyWolfgang Müller2021-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 Grigg2017-02-25-2/+5
|
* add back support for `*` transaction flagJakob Schnitzer2016-11-11-2/+2
|
* Improve flag supportKonstantin Mikhailov2016-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 directiveKonstantin Mikhailov2016-09-30-1/+1
| | | | txn directive is mutually exclusive with flags (!*)
* Allow dates to be slash-separatedNathan Grigg2016-04-25-2/+2
| | | | (#17)
* Allow underscores and capital letters in meta keysZhuoyun Wei2016-04-24-1/+1
|
* Add fold rules for markdown style sectionsJason Chu2016-02-01-0/+12
|
* Highlight `include` keywordYuchen Ying2015-12-08-0/+2
|
* Highlight tag part of pushtag/poptagNathan Grigg2015-04-04-1/+2
|
* Don't allow directives to eat the end character.Nathan Grigg2015-02-10-12/+13
| | | | Fixes #3.
* Merge branch 'elasticdog-syntax-folding'Nathan Grigg2015-02-10-1/+1
|\
| * Enable syntax-based folding of transactionsAaron Bull Schaefer2015-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 numbersAaron Bull Schaefer2015-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 tagsNathan Grigg2015-01-22-1/+1
|
* Allow hyphen in account nameNathan Grigg2014-12-31-1/+1
|
* tags, links, and metadata syntax highlightingNathan Grigg2014-12-31-3/+9
|
* Fix up syntax highlightingNathan Grigg2014-11-21-6/+8
|
* Move price syntax to its own definitionNathan Grigg2014-11-03-2/+4
|
* Add price command to syntax defintionNathan Grigg2014-11-01-1/+1
|
* First try for syntax fileNathan Grigg2014-10-07-0/+62