chore(nvim): lsp chaos
parent
40daad4613
commit
43060180ba
|
@ -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,
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue