saadparwaiz1 / cmp_luasnip

luasnip completion source for nvim-cmp
Apache License 2.0
712 stars 32 forks source link

Neovim freezing #54

Closed DrMondGnu closed 1 year ago

DrMondGnu commented 1 year ago

(Disclaimer) I already adressed this problem in #53 issue and i'm sry for the duplicate.

Problem

Neovim is freezing when pressing tab in normal mode. To be exact this issue seems to be only with neovim-qt, but i don't know why. I originally thought the problem came from the resolve method in the init file, but i actually found out it is caused by multiple functions like this: https://github.com/saadparwaiz1/cmp_luasnip/blob/18095520391186d634a0045dacaa346291096566/lua/cmp_luasnip/init.lua#L106 and https://github.com/saadparwaiz1/cmp_luasnip/blob/18095520391186d634a0045dacaa346291096566/lua/cmp_luasnip/init.lua#L120 they seem to have some kind of problem with the qt version of neovim. Due to why this is i unfortunatly can't tell, maybe someone should look into this.