nvim: remove LSP gutter icons
This commit is contained in:
parent
2ff89694d3
commit
9b92968c9e
1 changed files with 5 additions and 5 deletions
|
@ -37,11 +37,11 @@ end
|
|||
local capabilities = cmp_nvim_lsp.default_capabilities()
|
||||
|
||||
-- Change the Diagnostic symbols in the sign column (gutter)
|
||||
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
|
||||
-- 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
|
||||
|
||||
-- Hide diagnostic virtual text by default, but toggle visibility with `lead:lh` command
|
||||
vim.diagnostic.config({
|
||||
|
|
Loading…
Add table
Reference in a new issue