diff --git a/.config/nvim/lua/plugins/blink.lua b/.config/nvim/lua/plugins/blink.lua index 37b65f26..2344695a 100644 --- a/.config/nvim/lua/plugins/blink.lua +++ b/.config/nvim/lua/plugins/blink.lua @@ -5,12 +5,22 @@ end return { { "giuxtaposition/blink-cmp-copilot", enabled = false }, + { + "saghen/blink.compat", + -- version = '*', + lazy = true, + opts = {}, + }, { "saghen/blink.cmp", -- opts_extend = {"sources"}, + dependencies = { + "f3fora/cmp-spell", + }, opts = { sources = { -- default = { "lsp", "snippets", "path", "markdown", "lazydev", "buffer" }, + -- compat = { "spell" }, default = { "lsp", "snippets", "path", "lazydev", "buffer", "orgmode" }, -- default = function() -- if vim.bo.filetype == "org" then @@ -24,6 +34,13 @@ return { name = "Orgmode", module = "orgmode.org.autocompletion.blink", }, + spell = { + name = "spell", + module = "blink.compat.source", + opts = { + preselect_correct_word = false, + }, + }, }, }, appearance = {