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 am trying to disable changing the background/foreground color of text due to spellchecking (but keep the red squiggly underlines); I realized I can do this by commenting out the following lines in PaperColor.vim:
However, this requires editing the plugin file itself, which might get overwritten by an update. Is there a way to disable the color changing for a specific plugin (i.e. spell checking) purely from my nvim.init file, without having to edit PaperColor.vim?
I spent a while trying to figure this one out but haven't come up with anything.
The text was updated successfully, but these errors were encountered:
I am having similar issues, and two ideas come to mind. However, neither of them worked as planned. The suggestions below are attempts to set the background color to white.
Idea 1 is to run hi spellbad guibg=#ffffff using autocmd. The other is to change 'override' in g:PaperColor_Theme_Options to include 'spellbad': ['#FFFFFF','15'].
However, both these changes affect the foreground color as well. (Edit: It seems that these methods can disable the background color, but the text is black, instead of the syntax color. I would rather have the text stay the syntax color.) If someone has a good suggestion for disabling background colors for spelling errors, it would be greatly appreciated.
" Disable bg and fg color highlighting of bad spelling in PaperColorautocmdVimEnter,ColorScheme*\ ifget(g:, 'colors_name', v:null) ==# 'PaperColor' |
\ hiSpellbad guibg=NONE guifg=NONE |
\ endif
I am trying to disable changing the background/foreground color of text due to spellchecking (but keep the red squiggly underlines); I realized I can do this by commenting out the following lines in
PaperColor.vim
:However, this requires editing the plugin file itself, which might get overwritten by an update. Is there a way to disable the color changing for a specific plugin (i.e. spell checking) purely from my
nvim.init
file, without having to editPaperColor.vim
?I spent a while trying to figure this one out but haven't come up with anything.
The text was updated successfully, but these errors were encountered: