From 9dfb7a3e57ec9b4535a679572596cbe746b1f536 Mon Sep 17 00:00:00 2001 From: Nathan Grigg Date: Tue, 30 Dec 2014 06:38:13 -0800 Subject: Fix regex for omnicompletion --- autoload/beancount.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload/beancount.vim') 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 -- cgit v1.2.3-2-gb3c3