You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to change the background color of the coc error floating window (CocErrorFloat). I added the following configuration in init.vim:
highlight! link CocErrorFloat NONE hi CocErrorFloat ctermfg=1 ctermbg=228
Normally, this will change the background color of the CocErrorFloat to light yellow.
But it did not take effect:
If I modify the background color of CocFloating, I can change the background color of the coc floating warning, but this will also change the background color of other floating windows (such as the completion list). I only want to modify the floating background color of CocErrorFloat alone.
Is it impossible to change the background color of CocErrorFloat?
The text was updated successfully, but these errors were encountered:
Thanks for your help. I have set dialog.floatHighlight as a custom highlight group, as shown below:
Custom highlight group, in init.vim hi myhelight ctermfg=1 ctermbg=228
In coc-settings.json: "dialog.floatHighlight": "myhelight"
I want to change the background color of the coc error floating window (CocErrorFloat). I added the following configuration in init.vim:
highlight! link CocErrorFloat NONE
hi CocErrorFloat ctermfg=1 ctermbg=228
Normally, this will change the background color of the CocErrorFloat to light yellow.
But it did not take effect:
If I modify the background color of CocFloating, I can change the background color of the coc floating warning, but this will also change the background color of other floating windows (such as the completion list). I only want to modify the floating background color of CocErrorFloat alone.
Is it impossible to change the background color of CocErrorFloat?
The text was updated successfully, but these errors were encountered: