From 9b92968c9e9b9fdce102806983afde359d3226ad Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Wed, 7 Feb 2024 20:34:36 +0000 Subject: [PATCH] nvim: remove LSP gutter icons --- nvim/lua/thomas/plugins/lsp/lspconfig.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nvim/lua/thomas/plugins/lsp/lspconfig.lua b/nvim/lua/thomas/plugins/lsp/lspconfig.lua index d0d562d..9328b90 100644 --- a/nvim/lua/thomas/plugins/lsp/lspconfig.lua +++ b/nvim/lua/thomas/plugins/lsp/lspconfig.lua @@ -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({