make diagnostics open float on hold

This commit is contained in:
gnat
2024-10-24 17:22:28 -07:00
parent a66ee46a7c
commit cddf200122
2 changed files with 8 additions and 10 deletions

View File

@ -36,13 +36,6 @@ local handlers = {
["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {border = border, focus = false}),
}
-- vim.api.nvim_create_autocmd({ "CursorHold", "CursorHoldI" }, {
-- group = vim.api.nvim_create_augroup("float_diagnostic", { clear = true }),
-- callback = function ()
-- vim.lsp.buf.hover(nil, {focus=false, scope='line'})
-- end
-- })
return {
event={ "VeryLazy" },
'neovim/nvim-lspconfig',