From 83202acadb4e986b0536f574fda0e9d7af0ac159 Mon Sep 17 00:00:00 2001 From: Nikita Avgustanov Date: Fri, 19 Dec 2025 11:27:07 +0400 Subject: [PATCH] added llm completion --- init.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 1e776e16..2d513987 100644 --- a/init.lua +++ b/init.lua @@ -861,12 +861,23 @@ require('lazy').setup({ -- By default, you may press `` to show the documentation. -- Optionally, set `auto_show = true` to show the documentation after a delay. documentation = { auto_show = false, auto_show_delay_ms = 500 }, + -- Recommended to avoid unnecessary request + trigger = { prefetch_on_insert = false }, }, sources = { - default = { 'lsp', 'path', 'snippets', 'lazydev' }, + default = { 'lsp', 'path', 'snippets', 'lazydev', 'minuet' }, providers = { lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 }, + minuet = { + name = 'minuet', + module = 'minuet.blink', + async = true, + -- Should match minuet.config.request_timeout * 1000, + -- since minuet.config.request_timeout is in seconds + timeout_ms = 3000, + score_offset = 50, -- Gives minuet higher priority among suggestions + }, }, },