From 0f3ed9f54c24a10b49ade2baac942e4653f44099 Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Tue, 4 May 2021 13:28:08 -0700 Subject: [PATCH] changed the default lsp letters to symbols. --- lua/lspconfig/lua.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/lspconfig/lua.lua b/lua/lspconfig/lua.lua index e0d6a1c..0c1b86e 100644 --- a/lua/lspconfig/lua.lua +++ b/lua/lspconfig/lua.lua @@ -76,3 +76,9 @@ require "lspconfig".sumneko_lua.setup { } } } + +-- replace the default lsp diagnostic letters with prettier symbols +vim.fn.sign_define("LspDiagnosticsSignError", {text = "", numhl = "LspDiagnosticsDefaultError"}) +vim.fn.sign_define("LspDiagnosticsSignWarning", {text = "", numhl = "LspDiagnosticsDefaultWarning"}) +vim.fn.sign_define("LspDiagnosticsSignInformation", {text = "", numhl = "LspDiagnosticsDefaultInformation"}) +vim.fn.sign_define("LspDiagnosticsSignHint", {text = "", numhl = "LspDiagnosticsDefaultHint"})