|
|
@ -342,7 +342,8 @@ function! s:common_sink(action, lines) abort
|
|
|
|
endfunction
|
|
|
|
endfunction
|
|
|
|
|
|
|
|
|
|
|
|
function! s:get_color(attr, ...)
|
|
|
|
function! s:get_color(attr, ...)
|
|
|
|
let gui = !s:is_win && !has('win32unix') && has('termguicolors') && &termguicolors
|
|
|
|
" Force 24 bit colors: g:fzf_force_termguicolors (temporary workaround for https://github.com/junegunn/fzf.vim/issues/1152)
|
|
|
|
|
|
|
|
let gui = get(g:, 'fzf_force_termguicolors', 0) || (!s:is_win && !has('win32unix') && has('termguicolors') && &termguicolors)
|
|
|
|
let fam = gui ? 'gui' : 'cterm'
|
|
|
|
let fam = gui ? 'gui' : 'cterm'
|
|
|
|
let pat = gui ? '^#[a-f0-9]\+' : '^[0-9]\+$'
|
|
|
|
let pat = gui ? '^#[a-f0-9]\+' : '^[0-9]\+$'
|
|
|
|
for group in a:000
|
|
|
|
for group in a:000
|
|
|
|