Fix variable mismatch looking for previous command

This commit is contained in:
Caleb Maclennan 2021-02-16 10:05:58 +03:00
parent 3a1aad8752
commit 5f999f4dc4
No known key found for this signature in database
GPG Key ID: 63CC496475267693

View File

@ -43,7 +43,7 @@ function! VimuxRunCommandInDir(command, useFile)
endfunction endfunction
function! VimuxRunLastCommand() function! VimuxRunLastCommand()
if exists('g:VimuxRunnerIndex') if exists('g:VimuxLastCommand')
call VimuxRunCommand(g:VimuxLastCommand) call VimuxRunCommand(g:VimuxLastCommand)
else else
echo 'No last vimux command.' echo 'No last vimux command.'