Welcome to Rocteur Thursday, April 25 2024 @ 10:25 AM CEST
How to change spell check highlight colours ?You need to define following highlighting groups: SpellBad SpellCap SpellRare SpellLocal For example, in my setup SpellBad is defined as SpellBad xxx term=reverse ctermbg=1 gui=undercurl guisp=Red -- shows as gray on red background
To learn how to write your own :highlight commands 1) :highlight - instructive, shows existing highlight groups :hi 2) :help :hi 3) To check how Spell-related groups are defined: :hi SpellBad :hi SpellCap :hi SpellRare :hi SpellLocal
Yakov --------------- If you use the following plugin:
http://vim.sourceforge.net/scripts/script.php?script_id=1081
and then type
:help hicolors
you'll see each highlighting color name in its own colors. This list includes
SpellBad SpellCap SpellLocal SpellRare
If you then right click on any of the names, a colorscheme editor will pop up for that color. Edit it, save it, use it!
Regards, Chip Campbell
FAQ Manager » Vim » How to change spell check highlight colours ?
|