=== modified file 'autoload/lbdb_omni.vim' --- autoload/lbdb_omni.vim 2013-05-13 11:17:19 +0000 +++ autoload/lbdb_omni.vim 2013-05-13 10:25:31 +0000 @@ -1,6 +1,6 @@ function! lbdb_omni#complete(findstart, base) if a:findstart - let l:comma_pos = searchpos('[:,]\zs', 'bncW', line('.')) + let l:comma_pos = searchpos('[:,]\s*\zs', 'bncW', line('.')) if l:comma_pos[0] == line('.') return l:comma_pos[1] else @@ -9,10 +9,9 @@ else let l:out = split(system('lbdbq '.shellescape(a:base)), '\n') if ! len(l:out) | return | endif - echo l:out[0].' '.a:base + echomsg l:out[0].' '.a:base let l:out = l:out[1:] let l:matches = [] - if ! len(l:out) | return | endif for [l:addr, l:name, l:added] in map(l:out, 'split(v:val, "\t")') let l:matches+=[{ \ 'word': '"'.l:name.'" <'.l:addr.'>',