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
I'm not sure if anything can or should be done here on cmp's end but I've had some trouble where typing /tmp/ will trigger cmp and cause neovim to freeze for up to a few minutes before either unfreezing or completely crashing crashing without indicating an error, such as a segfault.
Testing against a native linux machine did not have the same problem.
I have native_menu = false and attempted to set max_item_count = 10 for sources.path thinking this would fix the issue but there was no noticeable change.
I tried a clean neovim instance with wildmenu enabled and cmp disabled to see if it would also crash;
it was still noticeably slow and hung for ~30sec but didn't result in a crash.
Is there a possible workaround like disabling completion for the tmp directory in both insert and command mode?
I'm not sure if anything can or should be done here on cmp's end but I've had some trouble where typing
/tmp/
will trigger cmp and cause neovim to freeze for up to a few minutes before either unfreezing or completely crashing crashing without indicating an error, such as a segfault.Testing against a native linux machine did not have the same problem.
I have
native_menu = false
and attempted to setmax_item_count = 10
forsources.path
thinking this would fix the issue but there was no noticeable change.I tried a clean neovim instance with wildmenu enabled and cmp disabled to see if it would also crash;
it was still noticeably slow and hung for ~30sec but didn't result in a crash.
Is there a possible workaround like disabling completion for the tmp directory in both insert and command mode?
lua/plugins/cmp.lua
The text was updated successfully, but these errors were encountered: