fisa-vim-config
fisa-vim-config copied to clipboard
Modernise installation instructions
¡Hola! 😁
Today I was setting up your NVim config on a new computer, and ended up installing some dependencies my way. These are the current instructions:
https://github.com/fisadev/fisa-vim-config-website/blob/7dadd99d2e6421ce4d782fe341370fecd3d807c3/index.html#L100-L104
The problem I have is that I try to avoid "sudo pip install" as much as possible, because it may interfere with the system dependencies. This is what I did instead:
- I did not install
python3-pip(not needed) - Instead of
pip install pynvim jedi, I didapt-get install python3-pynvim python3-jedi(I assume these are used as libraries) - Instead of
pip install flake8 pylint isort, I diduv tool install flake8 pylint isort(I assume these are used as CLI tools)[^1]
With these changes, I avoided sudo pip install and everything seems to be working.
What do you think?
[^1]: It could have been pipx or fades instead of uv, or even the apt packages for these CLI tools too.
Sounds good! Thanks for the suggestion!
I was testing pip with --user already for pynvim and jedi, maybe that's better than using apt, to be able to have faster upgrades? What do you think?
Looks like both pynvim and jedi have had ~1 release a year lately 🤔
About --user, definitely much better than sudo pip install, although I tend to avoid it
Small update: I'm dealing with lots of issues in my work machine trying to get neovim to import a system-level installed jedi package, not yet sure why it breaks that way. It might be something broken in this particular machine, or maybe installing them with apt isn't compatible with all scenarios, I'm still trying to figure this out, and holding off the instructions update until I can make it work there :)