Files
nvim/lua/plugins/blink.lua
2026-03-10 23:01:51 +01:00

33 lines
859 B
Lua

return {
"saghen/blink.cmp",
dependencies = { 'rafamadriz/friendly-snippets' },
event = { "InsertEnter", "CmdlineEnter" },
opts = {
keymap = { preset = 'default' },
appearance = {
-- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
-- Adjusts spacing to ensure icons are aligned
nerd_font_variant = 'mono'
},
-- (Default) Only show the documentation popup when manually triggered
completion = { documentation = { auto_show = true, auto_show_delay_ms = 200, } },
-- Default list of enabled providers defined so that you can extend it
-- elsewhere in your config, without redefining it, due to `opts_extend`
sources = {
default = { "lsp", "path", "snippets", "buffer" },
},
fuzzy = {
implementation = "lua"
}
},
opts_extend = { "sources.default" }
}