We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dce14b commit acf5575Copy full SHA for acf5575
1 file changed
autoload/fish.vim
@@ -52,7 +52,7 @@ function! fish#Complete(findstart, base)
52
let l:completions =
53
\ system('fish -c "complete -C'.shellescape(a:base).'"')
54
let l:cmd = substitute(a:base, '\v\S+$', '', '')
55
- for l:line in split(l:completions, '\n')
+ for l:line in filter(split(l:completions, '\n'), 'len(v:val)')
56
let l:tokens = split(l:line, '\t')
57
call add(l:results, {'word': l:cmd.l:tokens[0],
58
\'abbr': l:tokens[0],
0 commit comments