fix: remove non-existent fallback function

This commit is contained in:
n3oney 2023-05-08 13:40:36 +02:00
parent 84b48ced26
commit 1818f4b910
No known key found for this signature in database
GPG key ID: C786693DE727850E

View file

@ -84,7 +84,9 @@ in {
elseif has_words_before() then elseif has_words_before() then
cmp.complete() cmp.complete()
else else
fallback() local termcode = vim.api.nvim_replace_termcodes(${builtins.toJSON mappings.next.value}, true, false, true)
vim.fn.feedkeys(termcode, 'n')
end end
end end
'') '')
@ -157,7 +159,9 @@ in {
elseif has_words_before() then elseif has_words_before() then
cmp.complete() cmp.complete()
else else
fallback() local termcode = vim.api.nvim_replace_termcodes(${builtins.toJSON mappings.next.value}, true, false, true)
vim.fn.feedkeys(termcode, 'n')
end end
end end
'') '')