disable virtual text

This commit is contained in:
Markus Dieckmann 2023-08-23 09:38:41 +02:00
parent 6884cc05df
commit 276684e498
2 changed files with 9 additions and 2 deletions

View File

@ -4,7 +4,6 @@
-- --
local opt = vim.opt local opt = vim.opt
local diag = vim.diagnostic
opt.scrolloff = 999 opt.scrolloff = 999
diag.config({ virtual_text = false }) vim.diagnostic.config({ virtual_text = false })
opt.title = true opt.title = true

View File

@ -0,0 +1,8 @@
return {
"nvim-lspconfig",
opts = {
diagnostics = {
virtual_text = false,
},
},
}