aboutsummaryrefslogtreecommitdiffstats
path: root/autoload/beancount.vim (follow)
Commit message (Collapse)AuthorAgeLines
* Improve flag supportKonstantin Mikhailov2016-10-07-1/+1
| | | | | | | | | | 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.
* Support whole numbers in align commodityNathan Grigg2016-10-01-10/+5
| | | | | | | | | The original implementation first looked for a decimal point and then fell back to whole number search, but this meant that a decimal in the price part of the directive would steal focus from the leading whole number. Fixes #14.
* Fix AlignCommodity to work with balance and priceKonstantin Mikhailov2016-10-01-1/+1
| | | | Closes #21 and #24. Supports dates with slash separator.
* Improved autocompleteJason Chu2016-09-05-44/+128
| | | | Merge pull #22
* Add a function to display the current line's beancount context in a scratch ↵Jason Chu2016-06-12-0/+9
| | | | window
* Do not allow account names to end in colons (AlignCommodity)Nathan Grigg2015-06-22-1/+1
|
* add vim-ledger style completion as an optionJohann Klähn2015-05-27-3/+23
|
* Follow include statements when completing accountsNathan Grigg2015-05-15-11/+55
| | | | | | | | | | Uses Python script to seek through multiple files for accounts, following 'include' statements. The list of accounts is cached to 'b:beancount_accounts'. You can specify the root file using 'b:beancount_root', and if this is not set, we assume the current file is the root. Included files that are not found are silently skipped. Closes #5.
* Fix regex for omnicompletionNathan Grigg2014-12-30-1/+1
|
* Add omnicomplete function for account namesNathan Grigg2014-11-21-0/+28
|
* AlignCommodity and IncomingNathan Grigg2014-10-07-0/+38