nvim: remove redundant pass through function definition
This commit is contained in:
parent
38eb78f0bd
commit
c38b32415b
1 changed files with 1 additions and 3 deletions
|
@ -39,9 +39,7 @@ local make_keymap = function(cmp)
|
||||||
-- I want <tab> to start completion on the command line, but not in Insert.
|
-- I want <tab> to start completion on the command line, but not in Insert.
|
||||||
local keymap = {
|
local keymap = {
|
||||||
["<tab>"] = {
|
["<tab>"] = {
|
||||||
i = if_visible(cmp.mapping.confirm { select = true }, function(fallback)
|
i = if_visible(cmp.mapping.confirm { select = true }),
|
||||||
fallback()
|
|
||||||
end),
|
|
||||||
c = if_visible(cmp.mapping.confirm { select = true }, cmp.mapping.complete()),
|
c = if_visible(cmp.mapping.confirm { select = true }, cmp.mapping.complete()),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue