This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function! LedgerJoinTransactions(begin, end) | |
| let xacts = ledger#transactions(a:begin, a:end) | |
| if len(xacts) < 2 | |
| return | |
| endif | |
| let target = remove(xacts, 0) | |
| call reverse(xacts) | |
| " safe view / position |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try | |
| unlet s:mrconfig | |
| "unlet s:bpath | |
| catch /No such/ | |
| endtry | |
| let s:mrconfig = [] | |
| for bundle in g:bundles | |
| let s:bpath = bundle.path() | |
| if $HOME != '' | |
| let s:bpath = substitute(s:bpath, '^\V'.$HOME, '$HOME', '') |
NewerOlder