-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird highlight of the "brackets" in floating window #86
Comments
On a cursory read through the links you have posted, this appears to me like a coc.nvim issue. If I have understood correctly, the delimiters are highlighted with Normal. What happens if you set: let g:solarized_termtrans=1 and reload the color scheme? With that option the Normal's background is not set, so the background will inherit your terminal's background. Does that also fix your issue? |
That's strange. I have seen two proposed solutions to the issue. The first is to override Normal after loading the color scheme, using an autocommand: autocmd Colorscheme solarized8_flat hi Normal guifg=#657b83 ctermfg=66 guibg=NONE ctermbg=NONE But if setting Elsewhere, I have seen people override a autocmd Colorscheme solarized8_flat hi Quote guifg=#657b83 ctermfg=66 guibg=NONE ctermbg=NONE I cannot reproduce this right now, because I don't use none of Neovim, Plug, coc.nvim, etc. I'll try to set up a test environment when possible. |
I am seeing red highlights in floating menus not sure if this is related to this issue: How would I go about changing the floating menu to solarized dark colors or a simple white background. I'd prefer more contrast to make it easier to read floating menus. |
I had the same problem, but I did the method you suggested and the problem was solved. |
Problems summary
I'm using CoC, when I hover to get documentation via float window, the parentheses background color is weird as need in screenshots.
Expected
Proper background color for parentheses on the floating window.
Environment Information
Minimal vim rc
The reproduce ways from neovim
Screen shot
Related
neoclide/coc.nvim#1248
joshdick/onedark.vim#197 (comment)
scalameta/coc-metals#309
The text was updated successfully, but these errors were encountered: