Skip to content

Commit c82af58

Browse files
committed
Eliminate redundant tmux poll
1 parent d42c5c4 commit c82af58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/dispatch/tmux.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,5 @@ endfunction
126126

127127
augroup dispatch_tmux
128128
autocmd!
129-
autocmd VimResized * nested if !has('gui_running') | call dispatch#tmux#poll() | endif
129+
autocmd VimResized * nested if !dispatch#has_callback() | call dispatch#tmux#poll() | endif
130130
augroup END

0 commit comments

Comments
 (0)