From af2423556465a7ad7729bde3fcf7fb6d0520f87d Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 4 Sep 2024 18:18:52 +0200 Subject: nvim: only underline in spellcheck --- nvim/nvim/init.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nvim') diff --git a/nvim/nvim/init.lua b/nvim/nvim/init.lua index 0365d1e..d80577e 100644 --- a/nvim/nvim/init.lua +++ b/nvim/nvim/init.lua @@ -42,6 +42,10 @@ vim.cmd.highlight("CursorLine", "ctermbg=DarkGrey", "guibg=#262626") vim.cmd.highlight("ColorColumn", "ctermbg=DarkGrey", "guibg=#262626") 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") + -- HighLight search vim.opt.hlsearch = true -- cgit v1.2.3