Remove nvim installer, update pipx to install pyright instead of pylsp

This commit is contained in:
Evie Litherland-Smith 2023-01-31 16:27:40 +00:00
parent 62b5063470
commit c8fc707710
2 changed files with 1 additions and 10 deletions

View file

@ -1,7 +0,0 @@
#!/usr/bin/env bash
command -v nvim > /dev/null && exit 0
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
mv nvim.appimage "$HOME/.local/bin/nvim"
ln -s "$HOME/.local/bin/nvim" "$HOME/.local/bin/vim"

View file

@ -2,6 +2,4 @@
command -v pipx > /dev/null || python3 -m pip install --user pipx command -v pipx > /dev/null || python3 -m pip install --user pipx
command -v poetry > /dev/null || python3 -m pipx install poetry command -v poetry > /dev/null || python3 -m pipx install poetry
pipx list | grep -i python-lsp-server && exit 0 command -v pyright > /dev/null || python3 -m pipx install pyright
python3 -m pipx install "python-lsp-server[all]" && python3 -m pipx inject python-lsp-server pylsp-mypy python-lsp-black python-lsp-isort