[fzf-tmux/vim] Fixes for fish (#204)

This commit is contained in:
Junegunn Choi
2015-04-20 22:42:02 +09:00
parent 16ca9c688b
commit 917b1759b0
2 changed files with 17 additions and 9 deletions

View File

@@ -105,6 +105,9 @@ function! s:upgrade(dict)
endfunction
function! fzf#run(...) abort
try
let oshell = &shell
set shell=sh
if has('nvim') && bufexists('[FZF]')
echohl WarningMsg
echomsg 'FZF is already running!'
@@ -149,6 +152,9 @@ function! fzf#run(...) abort
finally
call s:popd(dict)
endtry
finally
let &shell = oshell
endtry
endfunction
function! s:present(dict, ...)