[neovim] Use Normal group colors for floating window

Instead of NormalFloat.

https://github.com/junegunn/fzf/issues/3035#issuecomment-1305094043
pull/3046/head
Junegunn Choi 2 years ago
parent 01ae621f11
commit 2eec9892be
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -977,7 +977,7 @@ if has('nvim')
let buf = nvim_create_buf(v:false, v:true)
let opts = extend({'relative': 'editor', 'style': 'minimal'}, a: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', '')
return buf
endfunction

Loading…
Cancel
Save