feat(diag): add lsp diagnostic config
This commit is contained in:
5
lua/config/plugins/lsp_diagnostic.lua
Normal file
5
lua/config/plugins/lsp_diagnostic.lua
Normal 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
|
||||||
Reference in New Issue
Block a user