fix(blink): use .get method to access presets

This commit is contained in:
Jorge Villalobos 2025-06-16 15:21:27 -04:00
parent 25abbf546d
commit 6a087f2ad3
No known key found for this signature in database

View file

@ -109,7 +109,7 @@ return {
if not opts.keymap["<Tab>"] then
if opts.keymap.preset == "super-tab" then -- super-tab
opts.keymap["<Tab>"] = {
require("blink.cmp.keymap.presets")["super-tab"]["<Tab>"][1],
require("blink.cmp.keymap.presets").get("super-tab")["<Tab>"][1],
LazyVim.cmp.map({ "snippet_forward", "ai_accept" }),
"fallback",
}