initial commit
This commit is contained in:
48
lua/plugins/blink.lua
Normal file
48
lua/plugins/blink.lua
Normal 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",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user