lspconfig removed pretty hover

This commit is contained in:
Oliver Hartmann 2025-03-29 00:13:38 +01:00
parent 4e5b974350
commit 1393c83f4f

View File

@ -5,9 +5,7 @@ local lspKeys = function(client, bufnr)
vim.keymap.set({ 'n', 'x' }, '<space>a', vim.lsp.buf.code_action, vim.keymap.set({ 'n', 'x' }, '<space>a', vim.lsp.buf.code_action,
vim.tbl_extend('error', options, { desc = 'Code action' })) vim.tbl_extend('error', options, { desc = 'Code action' }))
vim.keymap.set('n', '<space>e', vim.lsp.buf.declaration, vim.tbl_extend('error', options, { desc = 'Declaration' })) vim.keymap.set('n', '<space>e', vim.lsp.buf.declaration, vim.tbl_extend('error', options, { desc = 'Declaration' }))
vim.keymap.set('n', '<space>h', function() vim.keymap.set('n', '<space>h', vim.lsp.buf.hover, vim.tbl_extend('error', options, { desc = 'Hover' }))
require('pretty_hover').hover()
end, vim.tbl_extend('error', options, { desc = 'Hover' }))
vim.keymap.set('n', '<space>c', vim.lsp.buf.outgoing_calls, vim.keymap.set('n', '<space>c', vim.lsp.buf.outgoing_calls,
vim.tbl_extend('error', options, { desc = 'Outgoing calls' })) vim.tbl_extend('error', options, { desc = 'Outgoing calls' }))
vim.keymap.set('n', '<space>C', vim.lsp.buf.incoming_calls, vim.keymap.set('n', '<space>C', vim.lsp.buf.incoming_calls,