major improvements, better stuff overall

This commit is contained in:
voidarclabs
2025-11-22 21:22:44 +00:00
parent 189ba01b97
commit f24a1029aa
8 changed files with 142 additions and 114 deletions

View File

@@ -0,0 +1,47 @@
return {
"saghen/blink.cmp",
dependencies = {
"L3MON4D3/LuaSnip",
},
opts = {
providers = {
lazydev = {
name = "LazyDev",
module = "lazydev.integrations.blink",
priority = 100,
},
},
-- Snippet configuration
snippets = {
preset = "luasnip", -- Tells blink.cmp to use LuaSnip
},
fuzzy = { implementation = "lua" },
signature = { enabled = true },
completion = {
list = {
selection = {
preselect = false,
auto_insert = true,
},
},
},
-- Keymaps
keymap = {
["<Tab>"] = { "select_next", "snippet_forward", "fallback" },
},
sources = {
default = {
"lsp", -- (Equivalent to cmp-nvim-lsp)
"snippets", -- (Handled by the snippets config, replaces cmp_luasnip source)
"buffer", -- (Equivalent to cmp-buffer)
"path", -- (Equivalent to cmp-path)
-- "cmdline", -- Generally configured separately, but often included by default
},
},
},
}