diff options
author | Johann Klähn <kljohann@gmail.com> | 2010-11-22 21:17:40 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-01-04 16:30:04 -0500 |
commit | 67aadeb80894d7683f5e2e1b2bf29520eb42da41 (patch) | |
tree | 9b26eb5be03de0805e7582ff4877ed55f7245dd4 | |
parent | b52011c7b2dbfcd82b3bd9e8efaff405bd475274 (diff) | |
parent | 2c6031a2333fe258dddcd169fd54a33b8a3ce957 (diff) | |
download | fork-ledger-67aadeb80894d7683f5e2e1b2bf29520eb42da41.tar.gz fork-ledger-67aadeb80894d7683f5e2e1b2bf29520eb42da41.tar.bz2 fork-ledger-67aadeb80894d7683f5e2e1b2bf29520eb42da41.zip |
vim. fix unset completion type
-rw-r--r-- | contrib/vim/ftplugin/ledger.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/vim/ftplugin/ledger.vim b/contrib/vim/ftplugin/ledger.vim index 13602e5d..d1c8e1a9 100644 --- a/contrib/vim/ftplugin/ledger.vim +++ b/contrib/vim/ftplugin/ledger.vim @@ -138,6 +138,7 @@ function! LedgerComplete(findstart, base) "{{{1 let lnum = line('.') let line = getline('.') let lastcol = col('.') - 2 + let b:compl_context = '' if line =~ '^\s\+[^[:blank:];]' "{{{2 (account) let b:compl_context = 'account' if matchend(line, '^\s\+\%(\S \S\|\S\)\+') <= lastcol |