some lsp configuration

This commit is contained in:
2025-11-16 18:55:41 -05:00
parent 65f8b53cfc
commit e1454ba52f
5 changed files with 141 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
-- see lua/plugins/mason-lspconfig for enabled servers
vim.diagnostic.config({
virtual_lines = true,
-- virtual_text = true,
underline = true,
update_in_insert = false,
severity_sort = true,
float = {
border = "rounded",
source = true,
},
signs = {
text = {
[vim.diagnostic.severity.ERROR] = "󰅚 ",
[vim.diagnostic.severity.WARN] = "󰀪 ",
[vim.diagnostic.severity.INFO] = "󰋽 ",
[vim.diagnostic.severity.HINT] = "󰌶 ",
},
numhl = {
[vim.diagnostic.severity.ERROR] = "ErrorMsg",
[vim.diagnostic.severity.WARN] = "WarningMsg",
},
},
})