A pretty Neovim plugin for displaying diagnostics, LSP results, quickfix lists, and telescope/fzf-lua results in a unified tree view.
Trouble.nvim is a Neovim plugin that aggregates and displays code analysis information in a unified, tree-based list. It shows diagnostics, LSP results (like references and definitions), quickfix lists, and search results from Telescope or fzf-lua, helping developers efficiently navigate and fix issues in their code.
Neovim users who work with LSP servers, diagnostics, and external search tools like Telescope or fzf-lua, and want a centralized, pretty interface for code feedback.
It replaces multiple disjointed Neovim windows and lists with a single, highly configurable tree view that reduces visual clutter, improves navigation efficiency, and integrates seamlessly with popular Neovim plugins.
🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Consolidates diagnostics, LSP references, quickfix lists, and search results into a single, tree-based view, reducing visual clutter and improving navigation efficiency, as emphasized in the unified display feature.
Directly integrates with popular Neovim plugins like Telescope and fzf-lua, allowing search results to be displayed and managed within Trouble.nvim using custom actions, as detailed in the integration sections.
Supports multiple windows, tree hierarchies with natural organization, and configurable formatters, filters, and sorters, enabling tailored displays for different use cases, highlighted in the flexible views and modes configuration.
Provides a comprehensive API and Trouble command for programmatic control, making automation and integration into workflows straightforward, as shown in the API and usage examples.
Requires configuring multiple options, modes, and key mappings, and depends on external tools like nvim-web-devicons and a patched font, which can be overwhelming for users seeking plug-and-play simplicity.
Limits items to 200 per section by default and uses throttle settings for updates, which may cause lag or incomplete displays in large codebases with many diagnostics or search results.
Requires Neovim >= 0.9.2 or specific Tree-sitter parsers, potentially causing compatibility issues with older or custom Neovim installations, as noted in the requirements section.