This commit is contained in:
saarsena@gmail.com 2026-05-04 22:09:09 -04:00
parent 085347ddac
commit c91e89245c
5 changed files with 399 additions and 9 deletions

View file

@ -23,6 +23,11 @@ return {
preset = 'default',
['<Tab>'] = { 'select_and_accept', 'fallback' },
['<Esc>'] = { 'cancel', 'fallback' },
['<M-w>'] = {
function(cmp)
cmp.show { providers = { 'minuet' } }
end,
},
},
appearance = {
nerd_font_variant = 'mono',
@ -35,9 +40,10 @@ return {
show_with_menu = true,
},
documentation = { auto_show = true, auto_show_delay_ms = 500 },
trigger = { prefetch_on_insert = false },
},
sources = {
default = { 'lsp', 'path', 'snippets', 'lazydev', 'codecompanion' },
default = { 'lsp', 'path', 'snippets', 'lazydev', 'codecompanion', 'minuet' },
providers = {
lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 },
codecompanion = {
@ -45,6 +51,13 @@ return {
module = 'codecompanion.providers.completion.blink',
enabled = true,
},
minuet = {
name = 'minuet',
module = 'minuet.blink',
async = true,
timeout_ms = 3000,
score_offset = 50,
},
},
},
snippets = { preset = 'luasnip' },

View file

@ -1,8 +0,0 @@
return {
'lommix/godot.nvim',
lazy = true,
cmd = { 'GodotDebug', 'GodotBreakAtCursor', 'GodotStep', 'GodotQuit', 'GodotContinue' },
config = function()
require 'custom.godot_config'
end,
}

22
lua/plugins/minuet.lua Normal file
View file

@ -0,0 +1,22 @@
return {
'milanglacier/minuet-ai.nvim',
event = 'InsertEnter',
opts = {
provider = 'codestral',
request_timeout = 3,
n_completions = 2,
context_window = 12000,
provider_options = {
codestral = {
model = 'codestral-latest',
end_point = 'https://api.mistral.ai/v1/fim/completions',
api_key = 'MISTRAL_API_KEY',
stream = true,
optional = {
max_tokens = 256,
stop = { '\n\n' },
},
},
},
},
}