mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:57:33 +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 = "🤔",
|
Hint = "🤔",
|
||||||
Info = "➞",
|
Info = "➞",
|
||||||
}
|
}
|
||||||
|
if vim.env["TERM"] == "xterm-kitty" then
|
||||||
|
signs = {
|
||||||
|
Error = "!!",
|
||||||
|
Warn = "!",
|
||||||
|
Hint = "?",
|
||||||
|
Info = "i",
|
||||||
|
}
|
||||||
|
end
|
||||||
for type, icon in pairs(signs) do
|
for type, icon in pairs(signs) do
|
||||||
local hl = "DiagnosticSign" .. type
|
local hl = "DiagnosticSign" .. type
|
||||||
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
|
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
|
||||||
|
Loading…
Reference in New Issue
Block a user