Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mortimr opened this issue Mar 23, 2024 · 3 comments
Open

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

mortimr opened this issue Mar 23, 2024 · 3 comments

Comments

@mortimr
Copy link

mortimr commented Mar 23, 2024

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
Copy link
Owner

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
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants