From ef9e0a50b9d889698754c2475bc246efa8cb975b Mon Sep 17 00:00:00 2001 From: doryan Date: Fri, 13 Dec 2024 15:29:11 +0400 Subject: [PATCH] feat(diag): add lsp diagnostic config --- lua/config/plugins/lsp_diagnostic.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 lua/config/plugins/lsp_diagnostic.lua diff --git a/lua/config/plugins/lsp_diagnostic.lua b/lua/config/plugins/lsp_diagnostic.lua new file mode 100644 index 0000000..641635e --- /dev/null +++ b/lua/config/plugins/lsp_diagnostic.lua @@ -0,0 +1,5 @@ +local signs = { Error = " ", Warn = " ", Hint = "󱩎 ", Info = " " } +for type, icon in pairs(signs) do + local hl = "DiagnosticSign" .. type + vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" }) +end