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
function! _VimuxTmuxIndex()
if _VimuxRunnerType == "pane"
if _VimuxRunnerType() == "pane"
return _VimuxTmuxPaneIndex()
else
return _VimuxTmuxWindowIndex()