nvim: disable hover help
the cursor gets trapped in the popup all the time
This commit is contained in:
parent
ca55aaf459
commit
c001da16f5
|
@ -56,14 +56,14 @@ packer.use {
|
|||
})
|
||||
end
|
||||
|
||||
-- show help on hover
|
||||
if client.resolved_capabilities.hover then
|
||||
vim.api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, {
|
||||
group = 'config_lsp',
|
||||
buffer = bufnr,
|
||||
callback = vim.lsp.buf.hover,
|
||||
})
|
||||
end
|
||||
-- -- show help on hover
|
||||
-- if client.resolved_capabilities.hover then
|
||||
-- vim.api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, {
|
||||
-- group = 'config_lsp',
|
||||
-- buffer = bufnr,
|
||||
-- callback = vim.lsp.buf.hover,
|
||||
-- })
|
||||
-- end
|
||||
end
|
||||
|
||||
-- update client capabilities with completion plugin stuff
|
||||
|
|
Loading…
Reference in New Issue
Block a user