Disable virtual text diagnostics
This commit is contained in:
parent
0d787fd341
commit
01f25d87a8
@ -39,6 +39,10 @@ function M.config()
|
||||
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {
|
||||
border = "rounded",
|
||||
})
|
||||
|
||||
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
|
||||
virtual_text = false
|
||||
})
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -57,3 +57,4 @@ map("n", "<C-u>", "<cmd>lua require('lspsaga.action').smart_scroll_with_saga(-1)
|
||||
map("n", "<C-d>", "<cmd>lua require('lspsaga.action').smart_scroll_with_saga(1)<cr>", opts)
|
||||
|
||||
-- LSP (See also configs/lsp-installer.lua)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user