hover.nvim
hover.nvim copied to clipboard
Hover plugin framework for Neovim
In help files `K` can be used to jump to topic under the cursor. Suggested mapping overrides it. Neovim hover handler (`vim.lsp.buf.hover`) which I think many users have also mapped...
I currently have a textDocument/hover handler that looks like this: ```language:lua function M.hover() if vim.bo.filetype == "rust" then require("rust-tools.hover_actions").hover_actions() elseif vim.fn.expand("%:t", false, false) == "Cargo.toml" then require("crates").show_popup() else require("hover").hover() require("autocommands")("DisableCursorHold")(function(autocmd)...
Some hover providers (like rust-analyzer) allow clients to have certain actions embedded in the hover, which would need providers to be able to modify the buffer and window (set keymaps,...
Hello! I personally prefer to send the contents of a floating window to a preview window, so that I can keep it open for a little while longer (and to...
- Fix buffer retrieval when hovering a non-active window. - delay previous hover close on mouse move, thus allowing the user to move his mouse pointer onto the hover window...
Change ft of the floating window according to the `filetype` argument passed to `done` in `register`
In lua/hover/util.lua, there is a check to see if there is a width, and if not do some things to define one. https://github.com/lewis6991/hover.nvim/blob/a173256a9dba938e876ceb4bb5d2742f8866e349/lua/hover/util.lua#L202-L208 I'm currently using Hover with [nvim-jdtls](https://github.com/mfussenegger/nvim-jdtls). On...
Sometimes I have a one-off hover action I'd like to run without keeping a provider around, or really even encapsulating the 'get some text' portion of the operation in a...
Hello, Would you consider a provider for LSP warnings and LSP errors? I think the provider should be straightforward (although I have little knowledge about this). However, for it to...