fix(config): new config, it's been a while

This commit is contained in:
devaine 2025-10-26 19:41:13 -05:00
commit 1fe92c532b
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
11 changed files with 385 additions and 0 deletions

View file

@ -0,0 +1,39 @@
return {
{
"saghen/blink.cmp",
dependencies = {
{ "rafamadriz/friendly-snippets" },
},
version = "1.*",
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
keymap = {
preset = "none",
['<Tab>'] = { 'select_next', 'fallback' },
['<S-Tab>'] = { 'select_prev', 'fallback' },
["<CR>"] = { 'select_and_accept', 'fallback' },
['<C-e>'] = { 'hide', 'fallback' }
},
completion = {
documentation = {
auto_show = true,
treesitter_highlighting = true
},
menu = { auto_show = true },
ghost_text = { enabled = true }
},
sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' },
},
signature = { enabled = true },
fuzzy = { implementation = "prefer_rust_with_warning" }
}
}
}