Merge pull request #107 from alexozer/master

Stop Vimux from spewing garbage text
This commit is contained in:
Ben Mills 2014-04-25 20:54:39 -05:00
commit fbb873a265

View File

@ -159,7 +159,7 @@ function! _VimuxNearestIndex()
let views = split(system("tmux list-"._VimuxRunnerType()."s"), "\n")
for view in views
if match(view, "(active)") != -1
if match(view, "(active)") == -1
return split(view, ":")[0]
endif
endfor