Migrate to vim.pack

This commit is contained in:
2026-08-02 12:00:14 -04:00
parent 1f62ddd4ac
commit 22a1fcb0b5
16 changed files with 795 additions and 663 deletions
+18 -21
View File
@@ -1,21 +1,18 @@
return {
"saghen/blink.cmp",
version = "^1",
event = "InsertEnter", -- Lazy's native equivalent of the manual InsertEnter augroup
config = function()
require("blink.cmp").setup({
keymap = { preset = "super-tab" },
appearance = {
nerd_font_variant = "mono",
use_nvim_cmp_as_default = true,
},
completion = {
documentation = { auto_show = false },
},
sources = {
default = { "lsp", "path", "snippets", "buffer" },
},
fuzzy = { implementation = "prefer_rust_with_warning" },
})
end,
}
vim.pack.add({
{ src = "https://github.com/saghen/blink.cmp", version = vim.version.range("^1") },
})
require("blink.cmp").setup({
keymap = { preset = "super-tab" },
appearance = {
nerd_font_variant = "mono",
use_nvim_cmp_as_default = true,
},
completion = {
documentation = { auto_show = false },
},
sources = {
default = { "lsp", "path", "snippets", "buffer" },
},
fuzzy = { implementation = "prefer_rust_with_warning" },
})