milanglacier/minuet-ai.nvim
💃 Dance with Intelligence in Your Code. Minuet offers code completion as-you-type from popular LLMs including OpenAI, Gemini, Claude, Ollama, Llama.cpp, Codestral, and more.
What it solves
Minuet is an AI-powered code completion plugin for Neovim that allows developers to integrate various Large Language Models (LLMs) directly into their editor. It solves the problem of having to switch between the editor and an external AI chat interface for code suggestions, providing a seamless, low-latency experience for inline code completion.
How it works
Minuet connects to AI providers via API (using curl) without requiring proprietary background binaries. It supports two primary completion modes: specialized prompts for chat-based LLMs and Fill-in-the-Middle (FIM) completion for models specifically designed for code completion. The plugin provides multiple frontend options for displaying suggestions, including virtual text, nvim-cmp, blink-cmp, and Neovim's built-in LSP completion interface.
Who it’s for
Neovim users who want AI-assisted coding with flexibility in choosing their LLM provider (cloud-based like OpenAI, Claude, or Gemini, or local models via Ollama and Llama.cpp) and their preferred completion UI.
Highlights
- Multi-provider support: Works with OpenAI, Claude, Gemini, Codestral, Ollama, Llama.cpp, and OpenAI-compatible APIs.
- Flexible UI: Supports virtual text,
nvim-cmp,blink-cmp, and can act as an in-process LSP server. - Resource efficient: Keeps completions in sync with typed text to reduce unnecessary API requests.
- Incremental acceptance: Allows users to accept multi-line suggestions line-by-line or in specific increments.
- Next-edit prediction: Includes an experimental "Duet" feature for predicting the next edit.
- Streaming support: Enables faster delivery of completions even when using slower LLMs.
Related
- Project
- Project
- Project
- Project
- Project