mirror of
https://github.com/junegunn/fzf.git
synced 2025-07-26 09:42:02 -07:00
[neovim] Use Normal group colors for floating window
Instead of NormalFloat. https://github.com/junegunn/fzf/issues/3035#issuecomment-1305094043
This commit is contained in:
@@ -977,7 +977,7 @@ if has('nvim')
|
|||||||
let buf = nvim_create_buf(v:false, v:true)
|
let buf = nvim_create_buf(v:false, v:true)
|
||||||
let opts = extend({'relative': 'editor', 'style': 'minimal'}, a:opts)
|
let opts = extend({'relative': 'editor', 'style': 'minimal'}, a:opts)
|
||||||
let win = nvim_open_win(buf, v:true, opts)
|
let win = nvim_open_win(buf, v:true, opts)
|
||||||
silent! call setwinvar(win, '&winhighlight', 'Pmenu:')
|
silent! call setwinvar(win, '&winhighlight', 'Pmenu:,Normal:Normal')
|
||||||
call setwinvar(win, '&colorcolumn', '')
|
call setwinvar(win, '&colorcolumn', '')
|
||||||
return buf
|
return buf
|
||||||
endfunction
|
endfunction
|
||||||
|
Reference in New Issue
Block a user