A Neovim plugin that previews LSP definitions, references, and implementations in floating windows.
Goto Preview is a Neovim plugin that displays Language Server Protocol (LSP) navigation results—such as definitions, type definitions, implementations, declarations, and references—in floating windows. It allows developers to quickly peek at code without leaving their current context, improving workflow efficiency and reducing context switching.
Neovim users (version 0.10 or later) who work with Language Server Protocol (LSP) for code navigation and want a non-intrusive way to preview code locations.
Developers choose Goto Preview for its seamless, configurable floating window previews that maintain context, its conservative multi-LSP server support for reliable compatibility, and its adherence to Neovim's minimalist and extensible design ethos.
A small Neovim plugin for previewing definitions using floating windows.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Opens LSP navigation results in configurable floating windows with adjustable size, border, and opacity, allowing quick code peeks without buffer switches, as shown in the README's showcase GIFs.
Uses conservative capability detection to handle multiple language servers gracefully, with a fallback strategy for servers like jdtls that don't advertise capabilities, ensuring broad compatibility.
Provides post_open_hook and post_close_hook for custom keybindings or actions, and integrates with Telescope, fzf_lua, snacks, or mini_pick for reference cycling, enhancing flexibility.
Supports nesting floating preview windows and managing them with standard Vim window commands, facilitating complex code exploration without disrupting workflow.
Requires Neovim ≥ 0.10 due to simplified LSP handler expectations, forcing users to upgrade or risk incompatibility, as noted in the migration warning.
Default mappings are disabled, and setup involves multiple options like width, height, and hooks, which can be overwhelming for users wanting a simple drop-in solution.
Only works with LSP navigation methods; doesn't support other code navigation tools or non-LSP sources, restricting its use in mixed environments.
Floating windows might obscure code or cause visual noise, especially with multiple previews or on smaller screens, despite configurable opacity and dismissal options.