enabled coloured underlines for spelling diagnostics

This commit is contained in:
Ray Elliott 2026-01-19 15:03:16 +00:00
commit 5c7a63ab8d
4 changed files with 9 additions and 2 deletions

View file

@ -292,6 +292,6 @@ return {
['@none'] = {},
['@conceal'] = { fg = c.fg_weaker },
['@spell'] = {},
['@nospell'] = {},
-- @spell and @nospell should not define any styling
-- This allows vim.wo.spell to control spell highlighting via SpellBad/SpellCap/etc
}

View file

@ -60,6 +60,9 @@ vim.opt.hlsearch = true -- Highlight all search matches
vim.opt.iskeyword:append("$")
vim.opt.iskeyword:append("-")
-- Terminal and color support
vim.opt.termguicolors = true -- Enable 24-bit RGB color (required for colored underlines)
-- Visuals
vim.opt.showbreak = ""
vim.opt.listchars = {