nvim: remove redundant pass through function definition

This commit is contained in:
Fernando Schauenburg 2024-07-17 20:45:06 +02:00
parent 38eb78f0bd
commit c38b32415b

View file

@ -39,9 +39,7 @@ local make_keymap = function(cmp)
-- I want <tab> to start completion on the command line, but not in Insert.
local keymap = {
["<tab>"] = {
i = if_visible(cmp.mapping.confirm { select = true }, function(fallback)
fallback()
end),
i = if_visible(cmp.mapping.confirm { select = true }),
c = if_visible(cmp.mapping.confirm { select = true }, cmp.mapping.complete()),
},
}