summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-08-10 21:29:58 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:17 -0400
commit98895eb1cfb231846537c1d2cf7f8b5e804fdecf (patch)
tree7f4caf1358507edf1eaf320a3baf265c5c1db50a
parent37f31611c602c532412ed53dea89612766631308 (diff)
downloadledger-98895eb1cfb231846537c1d2cf7f8b5e804fdecf.tar.gz
ledger-98895eb1cfb231846537c1d2cf7f8b5e804fdecf.tar.bz2
ledger-98895eb1cfb231846537c1d2cf7f8b5e804fdecf.zip
*** empty log message ***
-rw-r--r--ledger.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ledger.vim b/ledger.vim
index 36427528..df63feb8 100644
--- a/ledger.vim
+++ b/ledger.vim
@@ -24,6 +24,7 @@ highlight default link transDate Question
" folding: how to represent a transaction in one line.
function! MyFoldText()
+ let line = strpart(getline(v:foldstart), 0, 65)
" get the amount at the end of the second line
let line2 = getline(v:foldstart+1)
let pos = match(line2, "[0-9.]*$")