Skip to content

lupeke/boldo.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boldo.nvim 🌿

Local LLM-driven code completion for Neovim. The idea is to leverage the ability of some LLMs to perform fill-in-the-middle (FIM) tasks, where you provide a prefix and a suffix as context for the completion.


Caution

This is a work in progress experiment and might not work as expected.

Setup

Boldo uses Ollama, make sure it's up and running with at least one of the supported models before continuing to the installation.

Installation

Lazy

{
  'lupeke/boldo.nvim',
  config = function()
    require('boldo').setup()
  end
}
Packer
use {
  'lupeke/boldo.nvim',
  config = function()
    require('boldo').setup()
  end
}

Usage

Commands

  • :Boldo
  • :BoldoModel <model>

Keymaps

  • <C-b>l will trigger the completion. Use the default undo shortcut to discard the completion.

Models

The following models are supported:

model
qwen2.5-coder:14b
deepseek-coder:6.7b
qwen2.5-coder:7b
codellama:7b-code
codegemma:7b-code

About

Local LLM-driven completion for Neovim

Resources

License

Stars

Watchers

Forks

Languages