feat(diag): add lsp diagnostic config

This commit is contained in:
doryan 2024-12-13 15:29:11 +04:00
parent bb64365d25
commit ef9e0a50b9

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