User.lspconfig

Configure Neovim LSP client capabilities, diagnostics, keymaps, and hover information.

1|Updated Oct 26, 2025
One-click install
npx skills add https://github.com/NeKon69/nvim-dot --skill user-lspconfig
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: User.lspconfig
Source: https://github.com/NeKon69/nvim-dot/tree/main/.agents/skills/user.lspconfig
Command: npx skills add https://github.com/NeKon69/nvim-dot --skill user-lspconfig

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines and enhances the Language Server Protocol (LSP) integration within Neovim, providing a more robust and user-friendly coding environment.

Core Features & Use Cases

  • Advanced LSP Capabilities: Integrates snippet and resolve support for richer code completion and diagnostics.
  • Automated Configuration: Clears LSP logs on startup and sets sensible defaults for diagnostics and floating windows.
  • Contextual Keymaps: Dynamically assigns LSP-related keybindings upon buffer attachment (LspAttach).
  • Intelligent Hover: Implements a delayed hover feature that checks content to prevent unnecessary popups.
  • Use Case: As a developer, you can instantly navigate to definitions, view implementations, and trigger code actions with simple keypresses, significantly speeding up your workflow.

Quick Start

Use the User.lspconfig skill to go to the definition of the current symbol.

Frequently Asked Questions about User.lspconfig

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure LSP keymaps dynamically when a buffer attaches in Neovim?

LSP keymaps are dynamically assigned upon buffer attachment using the `LspAttach` event in Neovim. This approach ensures that navigation and code action keybindings are only active when a language server is running.

How does hover work with LSP to prevent unnecessary popups in Neovim?

Hover functionality uses a delayed trigger that checks content availability before displaying. This prevents unnecessary popups in Neovim by ensuring hover information only appears when relevant context is detected.

Can I use cmp_nvim_lsp and lspsaga for advanced code completion and diagnostics?

Yes, the LSP client configuration integrates with cmp_nvim_lsp and lspsaga. This combination provides snippet and resolve support for richer code completion alongside advanced diagnostic displays in Neovim.

What are sensible default LSP diagnostics and floating window settings for Neovim?

Sensible defaults for LSP diagnostics and floating windows are set automatically during initialization. This includes clearing LSP logs on startup to maintain a clean environment and ensure consistent diagnostic display.

Why does my Neovim LSP configuration lack snippet and resolve support?

Snippet and resolve support are managed through specific LSP capability configurations. Integrating cmp_nvim_lsp directly enhances Neovim's language server capabilities to provide richer code completion and detailed diagnostics.