nvim: remove LSP gutter icons

This commit is contained in:
thomasabishop 2024-02-07 20:34:36 +00:00
parent 2ff89694d3
commit 9b92968c9e

View file

@ -37,11 +37,11 @@ end
local capabilities = cmp_nvim_lsp.default_capabilities() local capabilities = cmp_nvim_lsp.default_capabilities()
-- Change the Diagnostic symbols in the sign column (gutter) -- Change the Diagnostic symbols in the sign column (gutter)
local signs = { Error = "", Warn = "", Hint = "", Info = "" } -- local signs = { Error = " ", Warn = " ", Hint = "ﴞ ", Info = " " }
for type, icon in pairs(signs) do -- for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type -- local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" }) -- vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" })
end -- end
-- Hide diagnostic virtual text by default, but toggle visibility with `lead:lh` command -- Hide diagnostic virtual text by default, but toggle visibility with `lead:lh` command
vim.diagnostic.config({ vim.diagnostic.config({