mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-22 09:49:49 +01:00
fix: remove non-existent fallback function
This commit is contained in:
parent
f0bf3a7ae2
commit
a4b7a3ec3c
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
'')
|
'')
|
||||||
|
|
Loading…
Reference in a new issue