From b876cf8eb9c13579361d378720ef2cc3c61d1b0a Mon Sep 17 00:00:00 2001 From: Joost Agterhoek Date: Wed, 9 Jul 2025 14:05:19 +0200 Subject: [PATCH] autocomplete working with blink-cmp --- lua/plugins/blink-cmp.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lua/plugins/blink-cmp.lua b/lua/plugins/blink-cmp.lua index 151ebbf..a78da42 100644 --- a/lua/plugins/blink-cmp.lua +++ b/lua/plugins/blink-cmp.lua @@ -4,6 +4,7 @@ return { event = "VimEnter", version = "1.*", dependencies = { + "ribru17/blink-cmp-spell", -- Snippet Engine { "L3MON4D3/LuaSnip", @@ -76,8 +77,15 @@ return { }, sources = { - default = { "lsp", "path", "snippets", "lazydev" }, + default = { "lsp", "path", "snippets", "spell", "lazydev" }, providers = { + spell = { + name = 'Spell', + module = 'blink-cmp-spell', + opts = { + max_entries = 5 + } + }, lazydev = { module = "lazydev.integrations.blink", score_offset = 100 }, }, }, @@ -91,7 +99,9 @@ return { -- the rust implementation via `'prefer_rust_with_warning'` -- -- See :h blink-cmp-config-fuzzy for more information - fuzzy = { implementation = "lua" }, + fuzzy = { + implementation = "lua", + }, -- Shows a signature help window while you type arguments for a function signature = { enabled = true },