nvim: replace lsp markers with squares

This commit is contained in:
He4eT 2023-04-17 12:16:09 +03:00
commit cf511b3692

View file

@ -281,6 +281,12 @@ vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
border = "solid",
})
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 = hl })
end
-- Example custom configuration for lua
--
-- Make runtime files discoverable to the server