Remove nvim installer, update pipx to install pyright instead of pylsp
This commit is contained in:
parent
62b5063470
commit
c8fc707710
|
@ -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"
|
|
|
@ -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
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue