You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin is working pretty fine for quite a long time. After stop using Nvim for quite some times and coming back, I have updated everything, including nvim and other plugin and then thing start to break.
When ever I try to use : or / or ?, then press any character, an error will be thrown. If i disabled this plugins, it will work as normal without any completion and error.
some setup for cmp cmdline:
-- completion when press ':' in normal mode
cmp.setup.cmdline(":", {
mapping = cmdline_mapping,
sources = {
{ name = "cmdline" },
{ name = "path" },
},
})
-- Complete in command line for forward search
cmp.setup.cmdline("/", {
mapping = cmdline_mapping,
sources = {
{ name = "buffer" },
},
})
-- Complete in command line for reverse search
cmp.setup.cmdline("?", {
mapping = cmdline_mapping,
sources = {
{ name = "buffer" },
},
})
I think I have found some trace why it isn't working. The thing is, when I use cmp.config.compare.recently_used, the error will always throw (when it's on the top). But, by comment this code out, it will work without any issue.
This plugin is working pretty fine for quite a long time. After stop using Nvim for quite some times and coming back, I have updated everything, including nvim and other plugin and then thing start to break.
When ever I try to use
:
or/
or?
, then press any character, an error will be thrown. If i disabled this plugins, it will work as normal without any completion and error.some setup for cmp cmdline:
Here is some nvim detail:
The text was updated successfully, but these errors were encountered: