diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-09-04 18:18:52 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-09-04 18:18:52 +0200 |
commit | af2423556465a7ad7729bde3fcf7fb6d0520f87d (patch) | |
tree | 5a6543e472241f313c924eb2018c4452b3d33685 | |
parent | 06e8a09dd8ee52cc2860213c45158df916d042ec (diff) |
nvim: only underline in spellcheck
-rw-r--r-- | nvim/nvim/init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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 |