feat(diag): add lsp diagnostic config

This commit is contained in:
doryan committed 2024-12-13 15:29:11 +04:00
1 parent bb64365d25
commit ef9e0a50b9
1 file changed
+5
+5
View File
@@ -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