Move the cheese, because it has to move to run

As anybody following this might have divined, my testing  was flawed and
I was running different code than I was viewing.
fix-tmux-next-3dot4
Caleb Maclennan 3 years ago
parent 71f28c8296
commit cce8466613
No known key found for this signature in database
GPG Key ID: 63CC496475267693

@ -3,6 +3,14 @@ if exists("g:loaded_vimux") || &cp
endif
let g:loaded_vimux = 1
function! _VimuxOption(option, default)
if exists(a:option)
return eval(a:option)
else
return a:default
endif
endfunction
function! _VimuxTmuxCmd()
return _VimuxOption("g:VimuxTmuxCommand", "tmux")
endfunction
@ -204,14 +212,6 @@ function! _VimuxRunnerType()
return _VimuxOption("g:VimuxRunnerType", "pane")
endfunction
function! _VimuxOption(option, default)
if exists(a:option)
return eval(a:option)
else
return a:default
endif
endfunction
function! _VimuxTmuxProperty(property)
return substitute(_VimuxTmux("display -p '".a:property."'"), '\n$', '', '')
endfunction

Loading…
Cancel
Save