[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:
Junegunn Choi 2022-11-08 00:29:24 +09:00
parent 01ae621f11
commit 2eec9892be
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627
1 changed files with 1 additions and 1 deletions

View File

@ -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