fix(lsp): disable virtual text for diagnostics
This commit is contained in:
+1
-6
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user