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

Neovim version compatibility is not checked when setting it up #70

Closed
NomadicPython opened this issue Jul 25, 2024 · 2 comments · Fixed by #335
Closed

Neovim version compatibility is not checked when setting it up #70

NomadicPython opened this issue Jul 25, 2024 · 2 comments · Fixed by #335

Comments

@NomadicPython
Copy link

Describe the bug

Neovim version installed on RHEL9 using official repos (including EPFL) is 0.8* which is not compatible with the packages used for customizing nvim. Basically, setup neovim option gives an error for older versions of neovim < 0.9.4.

One error: which-key.nvim requires Neovim >= 0.9.4

To Reproduce

Steps to reproduce the behavior:

  1. Install RHEL9
  2. run linutil > setup neovim
  3. See error on first run of nvim after installation

Expected behavior

A clear and concise description of what you expected to happen: Check if version provided by the distribution is supported.

Screenshots

Screenshot from 2024-07-25 14-10-04
Screenshot from 2024-07-25 14-03-13

Additional context

I used setup bash before doing this. That was the only part of linutil I used before doing this. This is also a new installation without any serious config changes and did not have nvim installed previously.
I can download nvim 0.10.* from official github repository and run it without a problem with this system.

@afonsofrancof
Copy link
Collaborator

This happens because of this line
It only checks if nvim exists and not it's version.
I suggest you open an issue on that repository.

@NomadicPython
Copy link
Author

I think even if that line is changed to check for versions, the package manager installation would still do nothing since this is the most up to date version of neovim for the distribution. I can not find where the plugins for neovim are being installed by linutil, but I think that may be the place to make changes.

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

Successfully merging a pull request may close this issue.

2 participants