don't show diagnostic popup

This commit is contained in:
Oliver Hartmann 2023-07-10 12:02:55 +02:00
parent 6b1d57e28a
commit 0691b19e47

View File

@ -47,7 +47,7 @@ local on_attach = function(client, bufnr)
lspKeys(bufnr)
vim.cmd([[autocmd CursorHold <buffer> lua OpenDiagFloat()]])
-- vim.cmd([[autocmd CursorHold <buffer> lua OpenDiagFloat()]])
-- Set some keybinds conditional on server capabilities
if client.server_capabilities.documentFormattingProvider then
@ -330,6 +330,7 @@ return {
})
-- vim.diagnostic.config({ virtual_text = false })
vim.diagnostic.config({ virtual_text = false, virtual_lines = false })
-- vim.diagnostic.config({ virtual_text = false, virtual_lines = { only_current_line = true } })
end,
event = 'VeryLazy'