fix: remove non-existent fallback function

This commit is contained in:
n3oney 2023-05-08 13:40:36 +02:00 committed by NotAShelf
parent f0bf3a7ae2
commit a4b7a3ec3c
No known key found for this signature in database
GPG key ID: 05A3BD53FEB32B81

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
'') '')