mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 20:26:26 +00:00
Add additional comments for emoji signs for Kitty
This commit is contained in:
parent
f9e2976d9f
commit
ba6d69e6a7
@ -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 })
|
||||
|
Loading…
Reference in New Issue
Block a user