MunifTanjim / nui.nvim

UI Component Library for Neovim.
MIT License
1.56k stars 52 forks source link

Getting "Invalid 'col': out of range" sometimes when nvim-cmp opens #355

Open mortimr opened 5 months ago

mortimr commented 5 months ago

image I've been getting this error constantly when some nvim-cmp prompts are openining. Has anyone any idea on which configuration from nvim-cmp might be causing this nui issue ?

MunifTanjim commented 4 months ago

Your screenshot says the error message is coming from noice.nvim? I'm not sure if noice.nvim integrates with nvim-cmp in some ways. Or if it's caused by some other plugins.

The issue doesn't have enough information for me to do something about it.

asdfjackal commented 3 months ago

I am also getting this error. It pops up every time I write a test definition in an .exs script. Using LazyVim stock with the Elixir extras enabled.

asdfjackal commented 3 months ago

I am also getting this error. It pops up every time I write a test definition in an .exs script. Using LazyVim stock with the Elixir extras enabled.

Update: Not a problem with nui.nvim. Caused by a weird interaction with nui + noice + certain LSPs. Unsure of root cause but was fixed by nuking my .local/nvim directory (might want to back up first just in case) if you are using LazyVim. Hope this helps anyone who finds this issue from the weird error message.