Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Remove errant print statement | Jason Chu | 2016-11-07 | -1/+0 |
| | ||||
* | Merge pull request #26 from jtraub/flag_support | Nathan Grigg | 2016-10-08 | -5/+6 |
|\ | | | | | Improve flag support | |||
| * | Improve flag support | Konstantin Mikhailov | 2016-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 commodity | Nathan Grigg | 2016-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 price | Konstantin Mikhailov | 2016-10-01 | -1/+1 |
| | | | | Closes #21 and #24. Supports dates with slash separator. | |||
* | Fix highlight of txn directive | Konstantin Mikhailov | 2016-09-30 | -1/+1 |
| | | | | txn directive is mutually exclusive with flags (!*) | |||
* | Improved autocomplete | Jason Chu | 2016-09-05 | -45/+129 |
| | | | | Merge pull #22 | |||
* | Merge pull request #19 from xentac/bean-doctor-context | Nathan Grigg | 2016-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 Chu | 2016-06-12 | -0/+22 |
|/ | | | | window | |||
* | Allow dates to be slash-separated | Nathan Grigg | 2016-04-25 | -2/+2 |
| | | | | (#17) | |||
* | Merge pull request #13 from wzyboy | Nathan Grigg | 2016-04-24 | -1/+1 |
|\ | ||||
| * | Allow underscores and capital letters in meta keys | Zhuoyun Wei | 2016-04-24 | -1/+1 |
|/ | ||||
* | Merge pull request #12 from xentac/master | Nathan Grigg | 2016-04-24 | -0/+12 |
|\ | | | | | Add fold rules for markdown style sections | |||
| * | Add fold rules for markdown style sections | Jason Chu | 2016-02-01 | -0/+12 |
|/ | ||||
* | Merge pull request #10 from yegle/include-highlight | Nathan Grigg | 2015-12-09 | -0/+2 |
|\ | | | | | Highlight `include` keyword | |||
| * | Highlight `include` keyword | Yuchen Ying | 2015-12-08 | -0/+2 |
|/ | ||||
* | Fix indent to work for posts with no narration | Nathan Grigg | 2015-11-30 | -1/+2 |
| | | | | Fixes github #9. | |||
* | Add: syntax checker to be used by Syntastic | Yuchen Ying | 2015-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 Grigg | 2015-06-22 | -1/+1 |
| | ||||
* | add vim-ledger style completion as an option | Johann Klähn | 2015-05-27 | -4/+45 |
| | ||||
* | Follow include statements when completing accounts | Nathan Grigg | 2015-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 readme | Nathan Grigg | 2015-04-15 | -0/+13 |
| | ||||
* | Improve indent algorithm | Nathan Grigg | 2015-04-15 | -6/+25 |
| | | | | | The new algorithm relies less on returning '-1'. It also supports metadata | |||
* | Remove errant debug lines | Nathan Grigg | 2015-04-15 | -2/+0 |
| | ||||
* | Preliminary support for automatic indentation. | Nathan Grigg | 2015-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 contents | Nathan Grigg | 2015-04-15 | -0/+9 |
| | ||||
* | Add documentation for compiler | Nathan Grigg | 2015-04-15 | -0/+6 |
| | ||||
* | Add a beancount compiler that calls bean-check. | Nathan Grigg | 2015-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 Grigg | 2015-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/poptag | Nathan Grigg | 2015-04-04 | -1/+2 |
| | ||||
* | Override C-X and C-A | Nathan Grigg | 2015-04-04 | -0/+13 |
| | ||||
* | Don't allow directives to eat the end character. | Nathan Grigg | 2015-02-10 | -12/+13 |
| | | | | Fixes #3. | |||
* | Merge branch 'elasticdog-syntax-folding' | Nathan Grigg | 2015-02-10 | -2/+2 |
|\ | ||||
| * | Enable syntax-based folding of transactions | Aaron Bull Schaefer | 2015-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 Grigg | 2015-02-10 | -3/+3 |
|\ \ | |/ |/| | ||||
| * | Properly highlight syntax containing hyphens and numbers | Aaron Bull Schaefer | 2015-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 tags | Nathan Grigg | 2015-01-22 | -1/+1 |
| | ||||
* | Allow hyphen in account name | Nathan Grigg | 2014-12-31 | -1/+1 |
| | ||||
* | tags, links, and metadata syntax highlighting | Nathan Grigg | 2014-12-31 | -3/+9 |
| | ||||
* | Fix regex for omnicompletion | Nathan Grigg | 2014-12-30 | -1/+1 |
| | ||||
* | Fix doc typos | Nathan Grigg | 2014-11-21 | -4/+11 |
| | ||||
* | Remove personal stuff that other people won't use. | Nathan Grigg | 2014-11-21 | -20/+3 |
| | ||||
* | Better doc | Nathan Grigg | 2014-11-21 | -13/+65 |
| | ||||
* | Fix up syntax highlighting | Nathan Grigg | 2014-11-21 | -6/+8 |
| | ||||
* | Add omnicomplete function for account names | Nathan Grigg | 2014-11-21 | -0/+31 |
| | ||||
* | Move price syntax to its own definition | Nathan Grigg | 2014-11-03 | -2/+4 |
| | ||||
* | Add foldmethod | Nathan Grigg | 2014-11-02 | -2/+11 |
| | ||||
* | Add price command to syntax defintion | Nathan Grigg | 2014-11-01 | -1/+1 |
| | ||||
* | Set comment string | Nathan Grigg | 2014-10-30 | -0/+2 |
| | ||||
* | First try for syntax file | Nathan Grigg | 2014-10-07 | -0/+62 |
| |