nvim: disable hover help

the cursor gets trapped in the popup all the time
This commit is contained in:
tastytea 2022-08-14 00:02:33 +02:00
parent ca55aaf459
commit c001da16f5
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -56,14 +56,14 @@ packer.use {
}) })
end end
-- show help on hover -- -- show help on hover
if client.resolved_capabilities.hover then -- if client.resolved_capabilities.hover then
vim.api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, { -- vim.api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, {
group = 'config_lsp', -- group = 'config_lsp',
buffer = bufnr, -- buffer = bufnr,
callback = vim.lsp.buf.hover, -- callback = vim.lsp.buf.hover,
}) -- })
end -- end
end end
-- update client capabilities with completion plugin stuff -- update client capabilities with completion plugin stuff