don't show diagnostic popup
This commit is contained in:
parent
6b1d57e28a
commit
0691b19e47
@ -47,7 +47,7 @@ local on_attach = function(client, bufnr)
|
|||||||
|
|
||||||
lspKeys(bufnr)
|
lspKeys(bufnr)
|
||||||
|
|
||||||
vim.cmd([[autocmd CursorHold <buffer> lua OpenDiagFloat()]])
|
-- vim.cmd([[autocmd CursorHold <buffer> lua OpenDiagFloat()]])
|
||||||
|
|
||||||
-- Set some keybinds conditional on server capabilities
|
-- Set some keybinds conditional on server capabilities
|
||||||
if client.server_capabilities.documentFormattingProvider then
|
if client.server_capabilities.documentFormattingProvider then
|
||||||
@ -330,6 +330,7 @@ return {
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- vim.diagnostic.config({ virtual_text = false })
|
-- 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 } })
|
-- vim.diagnostic.config({ virtual_text = false, virtual_lines = { only_current_line = true } })
|
||||||
end,
|
end,
|
||||||
event = 'VeryLazy'
|
event = 'VeryLazy'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user