initial commit

This commit is contained in:
THEON-1
2025-10-10 12:19:28 +02:00
commit d2e8cd40f1
23 changed files with 499 additions and 0 deletions

48
lua/plugins/blink.lua Normal file
View File

@@ -0,0 +1,48 @@
return {
"saghen/blink.cmp",
version = '1.*',
---@module 'blink.cmp'
---@type blink.cmp.config
opts = {
keymap = {
preset = 'default',
['<Up>'] = { 'select_prev', 'fallback' },
['<Down>'] = { 'select_next', 'fallback' },
['<C-k>'] = { 'select_prev' },
['<C-j>'] = { 'select_next' },
['<C-Enter>'] = { 'accept' },
['<C-BS>'] = { 'cancel' },
['<C-Up>'] = { 'scroll_documentation_up' },
['<C-Down>'] = { 'scroll_documentation_down' },
},
appearance = {
nerd_font_variant = 'mono',
},
completion = {
documentation = {
auto_show = true,
},
},
sources = {
default = {
'lsp',
'path',
'buffer',
},
},
fuzzy = {
implementation = "prefer_rust_with_warning",
},
},
opts_extend = {
"sources.default",
},
}