Skip to content

LanguageServer helper #75

@uvelichitel

Description

@uvelichitel

While coding in vim I used to use LanguageServers via LanguageServerProtocol. There are plenty of plugins (https://github.com/prabirshrestha/vim-lsp to say). I can't imagine programming without LSP.
Wouldn't it be possible to add LSP helper to llama.vim or llama.cpp via for exampe ModelContextProtocol? It seems to me that GoToDefiniton which LanguageServer provides can dramatically reduce context window needed in large code base, say standard library. Also references and diagnostics LanguageServer requests may increase model generation quality.
MCP servers capable to expose a language server to LLMs already exist. For example https://github.com/isaacphi/mcp-language-server

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