mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:47:34 +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 = "🤔",
|
Hint = "🤔",
|
||||||
Info = "➞",
|
Info = "➞",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Don't use emoji for Kitty
|
||||||
if vim.env["TERM"] == "xterm-kitty" then
|
if vim.env["TERM"] == "xterm-kitty" then
|
||||||
signs = {
|
signs = {
|
||||||
Error = "!!",
|
Error = "!!",
|
||||||
@ -35,6 +37,7 @@ function M.config_lsp_ui()
|
|||||||
Info = "i",
|
Info = "i",
|
||||||
}
|
}
|
||||||
end
|
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