Add additional comments for emoji signs for Kitty

This commit is contained in:
ViViDboarder 2022-08-31 11:23:03 -07:00
parent f9e2976d9f
commit ba6d69e6a7

View File

@ -27,6 +27,8 @@ function M.config_lsp_ui()
Hint = "🤔",
Info = "",
}
-- Don't use emoji for Kitty
if vim.env["TERM"] == "xterm-kitty" then
signs = {
Error = "!!",
@ -35,6 +37,7 @@ function M.config_lsp_ui()
Info = "i",
}
end
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })