diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-09-04 21:13:58 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-09-04 21:13:58 +0200 |
commit | 95a2108e06a1b9fc71afa8bb1c05312a3a0c870c (patch) | |
tree | 686565b14aa216fa186c6c21a5a86ab14d14ae98 | |
parent | af2423556465a7ad7729bde3fcf7fb6d0520f87d (diff) |
fixup! nvim: only underline in spellcheck
-rw-r--r-- | nvim/nvim/init.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nvim/nvim/init.lua b/nvim/nvim/init.lua index d80577e..9dfa720 100644 --- a/nvim/nvim/init.lua +++ b/nvim/nvim/init.lua @@ -44,7 +44,10 @@ vim.cmd.highlight("ExtraWhitespace", "ctermbg=red", "guibg=red") -- Spell -- Only mark the underline, by default it also writes the text in red -vim.cmd.highlight("SpellBad", "cterm=underline", "gui=undercurl") +vim.cmd.highlight("SpellBad", "cterm=underline", "gui=undercurl") +vim.cmd.highlight("SpellCap", "cterm=underline", "gui=undercurl") +vim.cmd.highlight("SpellRare", "cterm=underline", "gui=undercurl") +vim.cmd.highlight("SpellLocal", "cterm=underline", "gui=undercurl") -- HighLight search vim.opt.hlsearch = true |