1
0
Fork 0
znvim/lua/znvim/plugins/blink.lua
2025-03-29 12:00:04 +01:00

26 lines
783 B
Lua

return {
"https://github.com/saghen/blink.cmp",
version = '1.*',
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
keymap = { preset = 'default' },
appearance = {
nerd_font_variant = 'mono'
},
completion = { documentation = { auto_show = false } },
sources = {
default = { "lazydev", 'lsp', 'path', 'snippets', 'buffer' },
providers = {
lazydev = {
name = "LazyDev",
module = "lazydev.integrations.blink",
-- make lazydev completions top priority (see `:h blink.cmp`)
score_offset = 100,
},
},
},
},
opts_extend = { "sources.default" }
}