Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mistral-lsp

This is an LSP server that supports tab completion in neovim via Mistral's remote codestral model.

mistral-lsp enables tab complete via the textDocument/inlineCompletion LSP method. At the time of writing this, it is fairly new, so it is only supported on neovim 0.12+.

Usage

To build:

bun install # install dependencies (mistral sdk)
bun run build # compile single-binary version

To use in neovim:

vim.lsp.inline_completion.enable() -- First, enable inline completion on the client
vim.lsp.config("mistral", {
  command = "/path/to/mistral-lsp",
  root_markers = {".git"},
})
vim.lsp.enable("mistral")

This project was created using bun init in bun v1.3.8. Bun is a fast all-in-one JavaScript runtime.

About

An LSP server for tab-completion with Mistral codestral models

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages