mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-09 09:50:26 +00:00
Update Vim plugin accordingly
This commit is contained in:
parent
f7efcc331a
commit
20ac8daeaa
@ -27,7 +27,7 @@ function! s:fzf(args)
|
|||||||
try
|
try
|
||||||
let tf = tempname()
|
let tf = tempname()
|
||||||
let prefix = exists('g:fzf_command') ? g:fzf_command.'|' : ''
|
let prefix = exists('g:fzf_command') ? g:fzf_command.'|' : ''
|
||||||
execute "silent !".prefix."/usr/bin/env bash ".s:exec." ".a:args." > ".tf
|
execute "silent !".prefix."/usr/bin/env ruby ".s:exec." ".a:args." > ".tf
|
||||||
if !v:shell_error
|
if !v:shell_error
|
||||||
execute 'silent e '.join(readfile(tf), '')
|
execute 'silent e '.join(readfile(tf), '')
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user