I broke up with neovim....vim is my best friend now

This commit is contained in:
LinlyBoi
2023-04-30 08:14:07 +03:00
parent 0d185449c5
commit 4a4a6b1e81
5245 changed files with 468325 additions and 25 deletions

View File

@@ -0,0 +1,34 @@
#!/bin/sh
set -e
# REF https://github.com/neovim/nvim-lsp/blob/master/lua/nvim_lsp/pyls_ms.lua
curl -L https://dot.net/v1/dotnet-install.sh | bash -s -- -i "./.dotnet"
os=$(uname -s | tr "[:upper:]" "[:lower:]")
case $os in
linux)
system="linux"
;;
darwin)
system="osx"
;;
*) ;;
esac
version="0.5.59"
url="https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-${system}-x64.${version}.nupkg"
nupkg="./pyls.nupkg"
curl -L "$url" -o "$nupkg"
unzip "$nupkg"
cat <<EOF >pyls-ms
#!/bin/sh
DIR=\$(cd \$(dirname \$0); pwd)
\$DIR/.dotnet/dotnet \$DIR/Microsoft.Python.LanguageServer.dll
EOF
chmod +x pyls-ms