chore(nvim): lsp chaos

main
sudo pacman -Syu 2023-12-30 11:06:11 +07:00
parent 40daad4613
commit 43060180ba
1 changed files with 15 additions and 0 deletions

View File

@ -420,6 +420,21 @@ require("lazy").setup({
end, opts)
end,
})
-- Chaos
-- https://www.reddit.com/r/neovim/comments/18teetv/one_day_you_will_wake_up_and_choose_the_chaos
-- https://github.com/neovim/nvim-lspconfig/wiki/UI-Customization
-- https://neovim.io/doc/user/diagnostic.html#diagnostic-highlights
local signs = {
Error = "🤬",
Warn = "🤔",
Info = "😎",
Hint = "😼",
}
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
end
end,
},
})