mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 20:46:28 +00:00
Use non-emoji signs for kitty
This commit is contained in:
parent
3df8f355dd
commit
b7e3bfd460
@ -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 })
|
||||
|
Loading…
Reference in New Issue
Block a user