Use non-emoji signs for kitty

This commit is contained in:
ViViDboarder 2022-06-08 13:14:57 -07:00
parent 3df8f355dd
commit b7e3bfd460

View File

@ -27,6 +27,14 @@ function M.config_lsp_ui()
Hint = "🤔",
Info = "",
}
if vim.env["TERM"] == "xterm-kitty" then
signs = {
Error = "!!",
Warn = "!",
Hint = "?",
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 })