Moved default outside if statement.

1.0.0rc1
Brian Riddle 12 years ago
parent c4eccfcaff
commit 8fb2563918

@ -154,10 +154,9 @@ endfunction
function VimuxPromptCommand() function VimuxPromptCommand()
let l:command = input("Command? ")
if exists("g:VimuxPromptString") if exists("g:VimuxPromptString")
let l:command = input(g:VimuxPromptString) let l:command = input(g:VimuxPromptString)
elseif
let l:command = input("Command? ")
endif endif
call VimuxRunCommand(l:command) call VimuxRunCommand(l:command)
endfunction endfunction

Loading…
Cancel
Save