aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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
|
* Add a beancount compiler that calls bean-check.Nathan Grigg2015-04-15-0/+20
| | | | | - Set the make program to bean-check. - Set the errorformat to parse the output of bean-check.
* Revert "Override C-X and C-A"Nathan Grigg2015-04-14-13/+0
| | | | | | | On further reflection, this feels outside the scope of this plugin. See http://goo.gl/HX09FG. This reverts commit f5b5b89bb617eea49dcac07996ce95fdb32e4b71.
* Highlight tag part of pushtag/poptagNathan Grigg2015-04-04-1/+2
|
* Override C-X and C-ANathan Grigg2015-04-04-0/+13
|
* 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-2/+2
|\
| * Enable syntax-based folding of transactionsAaron Bull Schaefer2015-02-10-2/+2
| | | | | | | | | | 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.
* | Merge branch 'elasticdog-highlight-fixes'Nathan Grigg2015-02-10-3/+3
|\ \ | |/ |/|
| * 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 regex for omnicompletionNathan Grigg2014-12-30-1/+1
|
* Fix doc typosNathan Grigg2014-11-21-4/+11
|