explaingit

nvimdev/lspsaga.nvim

3,786LuaAudience · developerComplexity · 2/5LicenseSetup · moderate

TLDR

A Neovim plugin that replaces the default code intelligence popups, hover docs, diagnostics, jump-to-definition, with prettier, more functional windows built on top of Neovim's built-in LSP support.

Mindmap

mindmap
  root((lspsaga))
    What it does
      Enhanced LSP UI
      Styled popups
      Better diagnostics
    LSP Features
      Hover docs
      Jump to definition
      Code actions
    Tech
      Lua
      Neovim
      LSP protocol
    Setup
      Plugin manager
      Lua config
      External docs site
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Replace Neovim's default LSP popups with styled, easier-to-read windows for hover docs and diagnostics.

USE CASE 2

Jump to code definitions and references with a better visual interface than Neovim's built-in LSP.

USE CASE 3

Browse and fix code errors inline in Neovim with an improved floating diagnostic display.

Tech stack

LuaNeovimLSP

Getting it running

Difficulty · moderate Time to first run · 30min

Requires Neovim with a working LSP setup and a Lua-based plugin manager like lazy.nvim, full docs are on an external site.

Use freely in personal or commercial tools, including your Neovim config, as long as you keep the copyright notice.

In plain English

lspsaga.nvim is a Lua plugin for the Neovim text editor that builds a richer interface on top of Neovim's built-in LSP (Language Server Protocol) support. LSP is a standard that lets a text editor communicate with language-specific servers to provide features like code completion, jump-to-definition, inline error messages, and hover documentation. Neovim includes LSP support natively, but lspsaga replaces or extends the default UI for many of those interactions with its own styled windows, prompts, and controls. The README is very sparse. It describes the plugin as improving the LSP experience in Neovim and points to a separate documentation website for usage details. No feature list, configuration examples, or installation steps are included in the README itself, all of that is deferred to the external docs site. The plugin is written in Lua, the scripting language used for Neovim plugin development. It is listed under the nvimdev GitHub organization, which maintains a collection of Neovim tools. The project is released under the MIT license. The author notes they are accepting donations through GitHub Sponsors, PayPal, WeChat, and Alipay. For readers unfamiliar with the ecosystem: Neovim is a highly configurable terminal-based text editor descended from Vim, popular with programmers who prefer working at the command line. Plugins are typically installed through a plugin manager and configured via Lua scripts in the user's Neovim configuration folder. The LSP layer is what turns Neovim from a plain editor into something closer to a full development environment, and plugins like lspsaga focus on making that layer more comfortable to use.

Copy-paste prompts

Prompt 1
Using lspsaga.nvim, show me how to configure a keybind in Neovim to open a floating hover window with documentation for the symbol under my cursor.
Prompt 2
How do I set up lspsaga.nvim's code action lightbulb to show suggestions when my cursor is on a problem in my code?
Prompt 3
Write a Neovim Lua config snippet that replaces the default jump-to-definition with lspsaga's enhanced finder window.
Prompt 4
How do I customize the colors and border style of lspsaga.nvim's popup windows in my init.lua?
Prompt 5
Set up lspsaga.nvim to show inline error messages in a floating window instead of Neovim's default diagnostic display.
Open on GitHub → Explain another repo

← nvimdev on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.