Skip to content

Commit 0b260b4

Browse files
committed
Update hiding LSP diagnostic virtual text
1 parent 63fd9de commit 0b260b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1335,7 +1335,7 @@ local on_attach = function(_, bufnr)
13351335
end, '[W]orkspace [L]ist Folders')
13361336

13371337
-- Don't show diagnostics inline
1338-
vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
1338+
vim.diagnostic.config({
13391339
virtual_text = false,
13401340
})
13411341

0 commit comments

Comments
 (0)