#204204th of 218 in Coding agents and AI editors

llm.nvim

Neovim plugin for ghost-text code completion backed by llm-ls

Stars
1.2k
License
Apache-2.0
Last commit
Nov 2026
Language
Lua
Stars, last 29 weeks+45
21 Apr 2026: 1,151 stars28 Apr 2026: 1,154 stars5 May 2026: 1,158 stars12 May 2026: 1,158 stars19 May 2026: 1,159 stars26 May 2026: 1,161 stars2 Jun 2026: 1,164 stars9 Jun 2026: 1,166 stars16 Jun 2026: 1,168 stars23 Jun 2026: 1,173 stars30 Jun 2026: 1,175 stars7 Jul 2026: 1,176 stars14 Jul 2026: 1,178 stars21 Jul 2026: 1,179 stars28 Jul 2026: 1,181 stars4 Aug 2026: 1,182 stars11 Aug 2026: 1,183 stars18 Aug 2026: 1,184 stars25 Aug 2026: 1,184 stars1 Sept 2026: 1,184 stars8 Sept 2026: 1,185 stars15 Sept 2026: 1,185 stars22 Sept 2026: 1,187 stars29 Sept 2026: 1,189 stars6 Oct 2026: 1,190 stars13 Oct 2026: 1,191 stars20 Oct 2026: 1,193 stars27 Oct 2026: 1,194 stars3 Nov 2026: 1,196 stars10 Nov 2026: 1,196 stars

1,151 on 21 Apr 20261,196 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

llm.nvim is a Lua Neovim plugin that shows Copilot-style ghost-text completions by sending requests through the llm-ls language server. It talks to the Hugging Face Inference API, Ollama, OpenAI-compatible endpoints or TGI, and trims each prompt to the configured context window using the tokenizers library. It supports fill-in-the-middle prompts for models such as StarCoder and CodeLlama.

Who it is for: Neovim users wanting self-hosted or Hugging Face-backed code completion

Strengths

  • Four backends: Hugging Face Inference API, Ollama, OpenAI-compatible, TGI
  • Prompts sized to context_window using real tokenizers, with a character-count fallback
  • Configurable fill-in-the-middle tokens per model, with StarCoder and CodeLlama examples
  • Installs via packer, lazy.nvim or vim-plug; llm-ls auto-downloaded or via Mason

Weaknesses

  • Completion only; the README documents no chat, edit or agent features
  • Requires the llm-ls binary, downloaded from GitHub releases on first load
  • Hugging Face free Inference API tier is rate limited; PRO plan suggested
  • No tagged releases; default llm-ls version pinned at 0.5.3

What it needs

  • Needs Neovim, llm-ls, Hugging Face Inference API, Ollama, OpenAI-compatible server or TGI
  • Models: bigcode/starcoder, bigcode/starcoder2-15b, codellama/CodeLlama-13b-hf, Ollama models, OpenAI-compatible endpoints

Also in Coding agents and AI editors

See all 218
Also in Coding agents and AI editors
RankProjectScore
1claw-codeRust CLI coding agent harness using Anthropic and OpenAI-compatible APIs194.8k stars+724 (+0.4%) in 30 daysMIT96 out of 100
2t3codeDesktop, web and mobile front end for controlling local coding agent CLIs Live demo ↗ (opens in a new tab)57.9k stars+30,427 (+111%) in 30 daysMIT95 out of 100
3codewhaleTerminal coding agent in Rust that works with 40+ model providers41.2k stars+331 (+0.8%) in 30 daysMIT94 out of 100
#4ArchonYAML workflow engine that runs AI coding agents through fixed dev steps23.9k starsMIT93 out of 100
#5piMinimal terminal coding agent extensible with skills and packages121.6k stars+7,287 (+6.4%) in 30 daysMIT92 out of 100