From 95a2108e06a1b9fc71afa8bb1c05312a3a0c870c Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 4 Sep 2024 21:13:58 +0200 Subject: fixup! nvim: only underline in spellcheck --- nvim/nvim/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nvim') 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 -- cgit v1.2.3