mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-25 06:07:42 +00:00
[vim] Shell-escape --color
option generated by fzf#wrap
Fix https://github.com/junegunn/fzf.vim/issues/855
This commit is contained in:
parent
5c7dcaffe8
commit
80b5bc1b68
@ -254,7 +254,7 @@ endfunction
|
||||
function! s:defaults()
|
||||
let rules = copy(get(g:, 'fzf_colors', {}))
|
||||
let colors = join(map(items(filter(map(rules, 'call("s:get_color", v:val)'), '!empty(v:val)')), 'join(v:val, ":")'), ',')
|
||||
return empty(colors) ? '' : ('--color='.colors)
|
||||
return empty(colors) ? '' : fzf#shellescape('--color='.colors)
|
||||
endfunction
|
||||
|
||||
function! s:validate_layout(layout)
|
||||
|
Loading…
Reference in New Issue
Block a user