Fix condition in _VimuxTmuxIndex()

This ensure that we call `_VimuxRunnerType()` instead of
`_VimuxRunnerType`.
This commit is contained in:
Kevin Sjöberg 2013-12-02 22:47:07 +01:00
parent 2e9b00b276
commit 9855936bd1

View File

@ -124,7 +124,7 @@ function! _VimuxTmuxSession()
endfunction endfunction
function! _VimuxTmuxIndex() function! _VimuxTmuxIndex()
if _VimuxRunnerType == "pane" if _VimuxRunnerType() == "pane"
return _VimuxTmuxPaneIndex() return _VimuxTmuxPaneIndex()
else else
return _VimuxTmuxWindowIndex() return _VimuxTmuxWindowIndex()