Improve LSP diagnostic messages

This commit is contained in:
Fábio André Damas 2025-08-06 17:12:25 +01:00
parent 5aa7a81b86
commit 358526bdb5
3 changed files with 28 additions and 6 deletions

View file

@ -45,9 +45,16 @@ vim.api.nvim_create_autocmd('LspAttach', {
})
vim.diagnostic.config({
virtual_lines = {
current_line = true
}
virtual_lines = false,
virtual_text = false,
signs = {
text = {
[vim.diagnostic.severity.ERROR] = "󰅙",
[vim.diagnostic.severity.WARN] = "",
[vim.diagnostic.severity.HINT] = "󰌵",
[vim.diagnostic.severity.INFO] = "",
},
},
})
return {