aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* remove unnecessary option; lint and minor improvementsJakob Schnitzer2017-03-20-29/+32
| | | | | | | | | Beancount only supports '.' as decimal separator so making the decimal separator configurable doesn't serve any purpose and might confuse users. Make the regular expression matching in beancount#align_commodity a bit more precise.
* lint align_commodityJakob Schnitzer2017-03-20-18/+18
|
* ftplugin lint and fix one commentJakob Schnitzer2017-03-20-10/+9
|
* autoload/beancount.vim: lint and remove trivial functionsJakob Schnitzer2017-03-20-59/+27
|
* indent: fix for custom root accounts and lintJakob Schnitzer2017-03-20-16/+16
|
* Merge pull request #40 from yagebu/testxentac2017-03-17-0/+54
|\ | | | | Tests; setup travis
| * more align testsJakob Schnitzer2017-03-14-0/+12
| |
| * add travis configJakob Schnitzer2017-03-14-0/+15
| |
| * add vader.vim test for AlignCommodityJakob Schnitzer2017-03-14-0/+27
|/
* Update syntax to handle per-leg flags better.Nathan Grigg2017-02-25-2/+5
|
* Change return value of gather_candidates because str's aren't valid anymoreJason Chu2017-01-19-5/+5
| | | | See https://github.com/Shougo/deoplete.nvim/issues/421 and https://github.com/Shougo/deoplete.nvim/issues/419
* Merge pull request #31 from yagebu/masterxentac2016-11-21-16/+134
|\ | | | | add deoplete source
| * deoplete: use b:beancount_rootJakob Schnitzer2016-11-21-8/+8
| |
| * doc: document deopleteJakob Schnitzer2016-11-21-6/+18
| |
| * doc: document optionsJakob Schnitzer2016-11-21-5/+36
| |
| * add deoplete sourceJakob Schnitzer2016-11-20-0/+75
|/
* Merge pull request #28 from xentac/python3Nathan Grigg2016-11-14-10/+72
|\ | | | | Add python3 support
| * Add caching back to python3 autocomplete implementationJason Chu2016-11-13-1/+2
| |
| * Add support for completing event typesJason Chu2016-11-07-2/+13
| | | | | | | | Only works in python3 because bean-query doesn't expose event types
| * Fix off-by-one error in initial line matchingJason Chu2016-11-07-2/+2
| |
| * Add support for python3Jason Chu2016-11-07-5/+56
| | | | | | | | Using beancount in process instead of shelling out to bean-query.
| * Remove errant print statementJason Chu2016-11-07-1/+0
| |
* | Merge branch 'pull30'Nathan Grigg2016-11-11-2/+2
|\ \ | |/ |/|
| * add back support for `*` transaction flagJakob Schnitzer2016-11-11-2/+2
|/
* Merge pull request #26 from jtraub/flag_supportNathan Grigg2016-10-08-5/+6
|\ | | | | Improve flag support
| * Improve flag supportKonstantin Mikhailov2016-10-07-5/+6
|/ | | | | | | | | | 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.
* Fix highlight of txn directiveKonstantin Mikhailov2016-09-30-1/+1
| | | | txn directive is mutually exclusive with flags (!*)
* Improved autocompleteJason Chu2016-09-05-45/+129
| | | | Merge pull #22
* Merge pull request #19 from xentac/bean-doctor-contextNathan Grigg2016-06-14-0/+22
|\ | | | | Add a function to display the current line's beancount context in a scratch window
| * Add a function to display the current line's beancount context in a scratch ↵Jason Chu2016-06-12-0/+22
|/ | | | window
* Allow dates to be slash-separatedNathan Grigg2016-04-25-2/+2
| | | | (#17)
* Merge pull request #13 from wzyboyNathan Grigg2016-04-24-1/+1
|\
| * Allow underscores and capital letters in meta keysZhuoyun Wei2016-04-24-1/+1
|/
* Merge pull request #12 from xentac/masterNathan Grigg2016-04-24-0/+12
|\ | | | | Add fold rules for markdown style sections
| * Add fold rules for markdown style sectionsJason Chu2016-02-01-0/+12
|/
* Merge pull request #10 from yegle/include-highlightNathan Grigg2015-12-09-0/+2
|\ | | | | Highlight `include` keyword
| * Highlight `include` keywordYuchen Ying2015-12-08-0/+2
|/
* Fix indent to work for posts with no narrationNathan Grigg2015-11-30-1/+2
| | | | Fixes github #9.
* Add: syntax checker to be used by SyntasticYuchen Ying2015-11-29-0/+26
| | | | | Integration doc: https://github.com/scrooloose/syntastic/wiki/Syntax-Checker-Guide#7-external-checkers
* 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-4/+45
|
* 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.
* Add feature highlights to readmeNathan Grigg2015-04-15-0/+13
|
* Improve indent algorithmNathan Grigg2015-04-15-6/+25
| | | | | The new algorithm relies less on returning '-1'. It also supports metadata
* Remove errant debug linesNathan Grigg2015-04-15-2/+0
|
* Preliminary support for automatic indentation.Nathan Grigg2015-04-15-0/+26
| | | | | | | | This assumes that the only indented lines are legs of a transaction. It works best if you put blank lines between transactions. If you do not use blank lines to end a transaction, it will usually work anyway, since it forces any line starting with a date to be all the way left.
* Add documentation table of contentsNathan Grigg2015-04-15-0/+9
|
* Add documentation for compilerNathan Grigg2015-04-15-0/+6
|