huggingface / huggingface/llm-ls

LSP compliance textDocument/completion

Open
#108 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
881
Forks
71
Avg merge
33m
Merged PRs (30d)
1

Description

Plugins like nvim-cmp provide features such as a completion menu and ghost text by utilizing the standard `textDocument/completion` command, as specified in the LSP documentation:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_completion. Currently, the command in use is `llm-ls/getCompletions`, but if we can ensure compliance with the LSP spec, it would unlock the full range of customization options offered by completion plugins.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the existing `llm-ls/getCompletions` handling with the LSP `textDocument/completion` specification linked in the issue. Trace the completion request entry point and determine the response shape required by the standard; done means completion plugins can use the standard command and its customization features.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.