return { "saghen/blink.cmp", dependencies = { { "L3MON4D3/LuaSnip", version = "v2.*" }, }, version = "1.*", opts = { fuzzy = { implementation = "rust", use_frecency = true, use_proximity = true, use_unsafe_no_lock = false, sorts = { -- (optionally) always prioritize exact matches "exact", "score", "sort_text", }, }, keymap = { preset = "enter" }, completion = { -- Disable showing for all alphanumeric keywords by default. Prefer LSP specific trigger -- characters. -- trigger = { show_on_keyword = false }, -- Controls whether the documentation window will automatically show when selecting a completion item documentation = { auto_show = true, auto_show_delay_ms = 500, window = { border = "rounded", scrollbar = false, }, }, menu = { border = "rounded", draw = { gap = 2 }, scrollbar = false, }, }, snippets = { preset = "luasnip" }, sources = { -- add lazydev to your completion providers default = { "lazydev", "snippets", "lsp", "path", "buffer" }, providers = { lazydev = { name = "LazyDev", module = "lazydev.integrations.blink", -- make lazydev completions top priority (see `:h blink.cmp`) score_offset = 100, }, }, }, signature = { enabled = true }, }, }