From 779bf7dbe2c433aef85a85a706e0883f7501cf70 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 17 Apr 2026 10:53:10 +0100 Subject: refactor: remove hover.nvim plugin Duplicates built-in K (vim.lsp.buf.hover) with marginal extras (man, dictionary, gh, fold_preview). Three keymaps for one plugin that mostly duplicates a 0.12 built-in default is low value. --- home/.config/nvim/lua/custom/plugins/lsp.lua | 45 ---------------------------- 1 file changed, 45 deletions(-) (limited to 'home/.config') diff --git a/home/.config/nvim/lua/custom/plugins/lsp.lua b/home/.config/nvim/lua/custom/plugins/lsp.lua index ec11fbc..585c285 100644 --- a/home/.config/nvim/lua/custom/plugins/lsp.lua +++ b/home/.config/nvim/lua/custom/plugins/lsp.lua @@ -8,51 +8,6 @@ return { }, }, }, - { - "lewis6991/hover.nvim", - keys = { - { - "K", - function() - require("hover").open() - end, - desc = "Hover", - }, - { - "gK", - function() - require("hover").enter() - end, - desc = "Hover Enter", - }, - { - "gh", - function() - require("hover").open() - end, - desc = "[H]over", - }, - }, - config = function() - require("hover").config({ - --- List of modules names to load as providers. - --- @type (string|Hover.Config.Provider)[] - providers = { - "hover.providers.diagnostic", - "hover.providers.lsp", - "hover.providers.dap", - "hover.providers.man", - "hover.providers.dictionary", - -- Optional, disabled by default: - "hover.providers.gh", - -- 'hover.providers.gh_user', - -- 'hover.providers.jira', - "hover.providers.fold_preview", - -- 'hover.providers.highlight', - }, - }) - end, - }, { "neovim/nvim-lspconfig", version = false, -- cgit v1.2.3-70-g09d2