Skip to content

[FEATURE] Add LSP to Claude Code in this plugin #107

@wuxianliang

Description

@wuxianliang

Feature Description

Neovim has a great LSP support. But Claude Code are treating codes as texts. So it is better to send LSP information to the Claude Code. There are Serena, Repo Prompt and lsmcp MCP servers. Especially lsmcp by @mizchi, this project suggest that lsp information make Claude Code better.

  1. human call v.s. keep bugs dead agent
  2. human call v.s. real time lsp information
  3. single lsp information v.s. lsp information flow
  4. how does agent pick the correct lsp information

Use Case

The case is the same as we used everyday, even more.

Proposed Solution

I used this prompt to make Gemini 2.5 pro to design with all the codes of projects mentioned as contexts.

Based on the coder/claudecode.nvim plugin and referencing the LSP documentation for Neovim, this implementation aims to provide functionality similar to Serena and Mizchi-LSMCP for claudecode.vim. To prioritize simplicity and efficiency, the implementation can adopt the MCP approach or directly write tools, commands, or subagents to achieve the desired functionality.

Alternatives Considered

I think it is not hard to code it. But community need a talk.
LSP is a Neovim's advantage.

Additional Context

oraios-serena-8a5edab282632443.txt
neovim-nvim-lspconfig-8a5edab282632443.txt
mizchi-lsmcp-8a5edab282632443.txt
coder-claudecode.nvim-8a5edab282632443.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions