mirror of
https://github.com/wellle/tmux-complete.vim.git
synced 2026-05-26 11:24:33 +02:00
Always split completions on newlines
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user