Always split completions on newlines

This commit is contained in:
Christian Wellenbrock
2014-07-02 01:22:08 +02:00
parent f0e1993e43
commit c2e91199ab
+2 -4
View File
@@ -26,11 +26,9 @@ function! tmuxcomplete#completions(base, capture_args, lines)
let completions = system(command)
if v:shell_error != 0
return []
elseif a:lines
return split(completions, '\n')
else
return split(completions)
endif
return split(completions, '\n')
endfunction
function! tmuxcomplete#complete(findstart, base)