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

Navigation through code completion does not work anymore #1990

Closed
Pismice opened this issue Jul 15, 2024 · 10 comments
Closed

Navigation through code completion does not work anymore #1990

Pismice opened this issue Jul 15, 2024 · 10 comments

Comments

@Pismice
Copy link

Pismice commented Jul 15, 2024

image
Hello I have been using nvim-cmp for a long time and I acciendtly updated all my packages with Lazy today, and I can not navigate through code completions anymore. I am big neovim and lua noob and I could not figure out how to resolve this issue. This is quite problematic since neovim in my main editor for working :(
It might be something very stupid but I have no clue.
If you have just a glimplse of an idea I would be glad to hear it :)

@Hexdigest123
Copy link

After I updated my config, I ran into the same issue. Currently, my config is "unusable" due to this error. If anyone finds a hotfix, I would definitely appreciate it.

@shelldandy
Copy link

Same here, we probably need to downgrade nvim-cmp

@Pismice
Copy link
Author

Pismice commented Jul 15, 2024

how can i downgrade it using Lazy?

@Hexdigest123
Copy link

Same here, we probably need to downgrade nvim-cmp

yes probably it only affects the dev branch

how can i downgrade it ?

in case of lazyvim you could choose a different branch

@bew
Copy link
Contributor

bew commented Jul 15, 2024

Make sure to check recently opened issues before creating new ones 😬
In this case: #1988

@Pismice
Copy link
Author

Pismice commented Jul 15, 2024

Same here, we probably need to downgrade nvim-cmp

yes probably it only affects the dev branch

how can i downgrade it ?

in case of lazyvim you could choose a different branch

Isnt it pulling "main" by default and not "dev" ?

@polirritmico
Copy link

how can i downgrade it using Lazy?

Use commit = "<hash>", in the nvim-cmp spec.

@Hexdigest123
Copy link

Same here, we probably need to downgrade nvim-cmp

yes probably it only affects the dev branch

how can i downgrade it ?

in case of lazyvim you could choose a different branch

Isnt it pulling "main" by default and not "dev" ?

yes you are right it does

@shelldandy
Copy link

shelldandy commented Jul 15, 2024

You can hotfix this by tweaking your lazy-lock.json to

{
 ......other plugins....
 "nvim-cmp": { "branch": "main", "commit": "7e348da6e5085ac447144a2ef4b637220ba27209" },
 ......other plugins....
}

Then open nvim and hit :Lazy restore

@Pismice
Copy link
Author

Pismice commented Jul 15, 2024

Yep all good thank you guys :)

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

5 participants