Skip to content

Commit 28a982d

Browse files
committed
info plugin: get rid of wrong autocomplete items
1 parent 163e7f4 commit 28a982d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/viewdoc_info.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function s:CompleteInfo(ArgLead, CmdLine, CursorPos)
219219
let line = join(split(a:CmdLine[0:a:CursorPos])[1:], ' ')
220220
let lead = substitute(a:ArgLead, '\\', '', 'g')
221221
let trail = split(line[:-len(a:ArgLead)-1], '[^\\]\zs ')
222-
let base_cmd = g:viewdoc_info_cmd . " '(dir)Top' 2>/dev/null"
222+
let base_cmd = g:viewdoc_info_cmd . " '(dir)Top' -o- 2>/dev/null"
223223
let keys_pipe = ' | sed -n ''s/\* \([^:]*\): (.*/\1/p'''
224224
if len(trail) == 0
225225
if len(lead) == 0

0 commit comments

Comments
 (0)