From 7c0269c0d33a49d17b6bb6b32781172ddd03ad55 Mon Sep 17 00:00:00 2001 From: ant Date: Fri, 27 Sep 2024 11:22:30 +0200 Subject: [PATCH] undercurl + no virtual text --- lua/configs/lspconfig.lua | 4 ++-- lua/plugins.lua | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lua/configs/lspconfig.lua b/lua/configs/lspconfig.lua index cf70f85..d4823a6 100644 --- a/lua/configs/lspconfig.lua +++ b/lua/configs/lspconfig.lua @@ -51,9 +51,9 @@ end vim.diagnostic.config({ - -- virtual_text = false, + virtual_text = false, -- signs = true, - -- underline = true, + underline = true, -- update_in_insert = false, -- severity_sort = false, }) diff --git a/lua/plugins.lua b/lua/plugins.lua index 1ecd237..97e38b2 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -72,7 +72,11 @@ local plugins = { HopNextKey = { bg = C.text, fg = C.base, style = { "bold", "underline" } }, HopNextKey1 = { bg = C.text, fg = C.base, style = { "bold" } }, HopNextKey2 = { bg = C.text, fg = C.base, style = { "bold", "italic" } }, - + DiagnosticUnderlineError = { style = { "undercurl" }}, + DiagnosticUnderlineWarn = { style = { "undercurl" }}, + DiagnosticUnderlineInfo = { style = { "undercurl" }}, + DiagnosticUnderlineHint = { style = { "undercurl" }}, + DiagnosticUnderlineOk = { style = { "undercurl" }}, -- Function = { fg = C.blue, style = { "bold" } }, -- Keyword = { fg = C.black, style = { "italic" } }, }