aboutsummaryrefslogtreecommitdiffstats
path: root/autoload/beancount.vim (unfollow)
Commit message (Collapse)AuthorLines
2017-03-20autoload/beancount.vim: lint and remove trivial functionsJakob Schnitzer-59/+27
2016-11-21deoplete: use b:beancount_rootJakob Schnitzer-7/+7
2016-11-13Add caching back to python3 autocomplete implementationJason Chu-1/+2
2016-11-07Add support for completing event typesJason Chu-2/+13
Only works in python3 because bean-query doesn't expose event types
2016-11-07Fix off-by-one error in initial line matchingJason Chu-2/+2
2016-11-07Add support for python3Jason Chu-5/+56
Using beancount in process instead of shelling out to bean-query.
2016-11-07Remove errant print statementJason Chu-1/+0
2016-10-07Improve flag supportKonstantin Mikhailov-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.
2016-10-01Support whole numbers in align commodityNathan Grigg-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.
2016-10-01Fix AlignCommodity to work with balance and priceKonstantin Mikhailov-1/+1
Closes #21 and #24. Supports dates with slash separator.
2016-09-05Improved autocompleteJason Chu-44/+128
Merge pull #22
2016-06-12Add a function to display the current line's beancount context in a scratch ↵Jason Chu-0/+9
window
2015-06-22Do not allow account names to end in colons (AlignCommodity)Nathan Grigg-1/+1
2015-05-27add vim-ledger style completion as an optionJohann Klähn-3/+23
2015-05-15Follow include statements when completing accountsNathan Grigg-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.
2014-12-30Fix regex for omnicompletionNathan Grigg-1/+1
2014-11-21Add omnicomplete function for account namesNathan Grigg-0/+28
2014-10-07AlignCommodity and IncomingNathan Grigg-0/+38