aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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