Add diagnostic signs to lsp options

This commit is contained in:
Gary Murray 2023-12-14 11:46:52 -07:00
parent 879e29504d
commit 18740d8abe

View file

@ -26,6 +26,14 @@ return {
-- prefix = "icons",
},
severity_sort = true,
signs = {
text = {
[vim.diagnostic.severity.ERROR] = require("lazyvim.config").icons.diagnostics.Error,
[vim.diagnostic.severity.WARN] = require("lazyvim.config").icons.diagnostics.Warn,
[vim.diagnostic.severity.HINT] = require("lazyvim.config").icons.diagnostics.Hint,
[vim.diagnostic.severity.INFO] = require("lazyvim.config").icons.diagnostics.Info,
},
},
},
-- Enable this to enable the builtin LSP inlay hints on Neovim >= 0.10.0
-- Be aware that you also will need to properly configure your LSP server to