fix(lsp): disable virtual text for diagnostics

This commit is contained in:
2024-11-18 16:59:46 +01:00
parent a25ce89b05
commit fbb0f918be
+1 -6
View File
@@ -117,12 +117,7 @@ local function setup_diagnostics()
vim.diagnostic.config({ vim.diagnostic.config({
underline = true, underline = true,
signs = true, signs = true,
virtual_text = { virtual_text = false,
prefix = "",
format = function(diagnostic)
return diagnostic.message
end,
},
float = { float = {
show_header = false, show_header = false,
source = true, source = true,