aboutsummaryrefslogtreecommitdiffstats
path: root/syntax/beancount.vim (unfollow)
Commit message (Collapse)AuthorLines
2016-10-07Improve flag supportKonstantin 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-30Fix highlight of txn directiveKonstantin Mikhailov-1/+1
txn directive is mutually exclusive with flags (!*)
2016-04-25Allow dates to be slash-separatedNathan Grigg-2/+2
(#17)
2016-04-24Allow underscores and capital letters in meta keysZhuoyun Wei-1/+1
2016-02-01Add fold rules for markdown style sectionsJason Chu-0/+12
2015-12-08Highlight `include` keywordYuchen Ying-0/+2
2015-04-04Highlight tag part of pushtag/poptagNathan Grigg-1/+2
2015-02-10Don't allow directives to eat the end character.Nathan Grigg-12/+13
Fixes #3.
2015-02-10Enable syntax-based folding of transactionsAaron 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-10Properly highlight syntax containing hyphens and numbersAaron 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-22Allow hyphens in tagsNathan Grigg-1/+1
2014-12-31Allow hyphen in account nameNathan Grigg-1/+1
2014-12-31tags, links, and metadata syntax highlightingNathan Grigg-3/+9
2014-11-21Fix up syntax highlightingNathan Grigg-6/+8
2014-11-03Move price syntax to its own definitionNathan Grigg-2/+4
2014-11-01Add price command to syntax defintionNathan Grigg-1/+1
2014-10-07First try for syntax fileNathan Grigg-0/+62