diff options
| author | 2026-04-17 10:53:10 +0100 | |
|---|---|---|
| committer | 2026-04-17 10:53:10 +0100 | |
| commit | 779bf7dbe2c433aef85a85a706e0883f7501cf70 (patch) | |
| tree | 70e8fa0abe29e57cbf5d99ca59ec0aef193f438a | |
| parent | 597faa1593a4192c018d5a3da6c56adee6bd5a1d (diff) | |
| download | dotfiles-779bf7dbe2c433aef85a85a706e0883f7501cf70.tar.gz dotfiles-779bf7dbe2c433aef85a85a706e0883f7501cf70.tar.bz2 dotfiles-779bf7dbe2c433aef85a85a706e0883f7501cf70.zip | |
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.
| -rw-r--r-- | home/.config/nvim/lua/custom/plugins/lsp.lua | 45 |
1 files changed, 0 insertions, 45 deletions
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 @@ -9,51 +9,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, dependencies = { |
