fix(blink): allow user to overwrite <Tab> mapping

This commit is contained in:
Iordanis Petkakis 2024-12-15 19:21:35 +02:00
parent ef9102677f
commit deca4b250c

View file

@ -102,7 +102,7 @@ return {
end
-- fix super-tab completion
if opts.keymap.preset == "super-tab" then
if opts.keymap.preset == "super-tab" and not opts.keymap["<Tab>"] then
opts.keymap["<Tab>"] = {
function(cmp)
if cmp.snippet_active() then