From e2f348cb371e53d2d45bc2cd8f9a23d63db2d539 Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 25 Jul 2023 22:50:39 +0200 Subject: fix: missing nerdfonts Since wezterm upgrade its support for Nerd Fonts 3.0, we should update the codepoints used for some of the Unicode Icons. Their code points are changed due to breaking changes in Nerd Fonts. --- lua/config/lsp.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lua/config/lsp.lua') diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 728455a..765a2ef 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -233,10 +233,10 @@ if utils.executable("lua-language-server") then end -- Change diagnostic signs. -fn.sign_define("DiagnosticSignError", { text = "✗", texthl = "DiagnosticSignError" }) -fn.sign_define("DiagnosticSignWarn", { text = "!", texthl = "DiagnosticSignWarn" }) -fn.sign_define("DiagnosticSignInformation", { text = "ī„Š", texthl = "DiagnosticSignInfo" }) -fn.sign_define("DiagnosticSignHint", { text = "ī ´", texthl = "DiagnosticSignHint" }) +fn.sign_define("DiagnosticSignError", { text = '🆇', texthl = "DiagnosticSignError" }) +fn.sign_define("DiagnosticSignWarn", { text = 'âš ī¸', texthl = "DiagnosticSignWarn" }) +fn.sign_define("DiagnosticSignInfo", { text = 'â„šī¸', texthl = "DiagnosticSignInfo" }) +fn.sign_define("DiagnosticSignHint", { text = '', texthl = "DiagnosticSignHint" }) -- global config for diagnostic diagnostic.config { -- cgit v1.2.3