Update hiding LSP diagnostic virtual text
This commit is contained in:
parent
63fd9de653
commit
0b260b4b62
2
init.lua
2
init.lua
|
@ -1335,7 +1335,7 @@ local on_attach = function(_, bufnr)
|
||||||
end, '[W]orkspace [L]ist Folders')
|
end, '[W]orkspace [L]ist Folders')
|
||||||
|
|
||||||
-- Don't show diagnostics inline
|
-- Don't show diagnostics inline
|
||||||
vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
|
vim.diagnostic.config({
|
||||||
virtual_text = false,
|
virtual_text = false,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue