fix: remove non-existent fallback function

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

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