aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Grigg2014-12-30 06:38:13 -0800
committerNathan Grigg2014-12-30 06:38:13 -0800
commit9dfb7a3e57ec9b4535a679572596cbe746b1f536 (patch)
tree18bc2dcb2cf13c91f8d710fbe71637daf862d6e1
parent67db004e38df8ef34947e37e7687d57295386bd9 (diff)
downloadvim-beancount-9dfb7a3e57ec9b4535a679572596cbe746b1f536.tar.gz
Fix regex for omnicompletion
-rw-r--r--autoload/beancount.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/beancount.vim b/autoload/beancount.vim
index 9430f02..49b06df 100644
--- a/autoload/beancount.vim
+++ b/autoload/beancount.vim
@@ -40,7 +40,7 @@ endfunction
" Complete account name.
function! beancount#complete_account(findstart, base)
if a:findstart
- let l:col = searchpos('\s\zs', "bn", line("."))[1]
+ let l:col = searchpos('\s', "bn", line("."))[1]
if col == 0
return -1
else