tmux-complete.vim
tmux-complete.vim copied to clipboard
tmux-complete outputs 'No tmux found' completion if no tmux instance is running
Hello,
Whenever vim is started and if no tmux instances are running, I get 'No tmux found' messages in the completion dialog.
IMHO, tmux-complete should be quiet if no tmux server is detected and maybe even deactivate itself to avoid lagging the completion system.
Thank you for the plugin =)!
I initially added this to give some feedback on why tmux-complete.vim wouldn't work. I understand that this is not nice when a completion system collects completions from multiples sources and this error messages shows up in the list every time.
The readme advises to change g:tmuxcomplete#trigger
for such integrations. So how do you feel about keeping the error message when the trigger is the default (invoked with <C-X><C-U>
) and silence the plugin when used with a different trigger (invoked differently or via completion system)?
That sounds nice =), however if I may suggest something, it could also depend in a debug
or verbose
variable.
This is very annoying. Could you remove it?