LSP working for Scala, mostly

This commit is contained in:
Radon Rosborough 2020-07-09 12:45:34 -06:00
parent b56d4ce6c0
commit e0a3fcffb6
2 changed files with 18 additions and 9 deletions

View File

@ -105,15 +105,14 @@ chmod +x /opt/mspyls/Microsoft.Python.LanguageServer
ln -s /opt/mspyls/Microsoft.Python.LanguageServer /usr/bin/Microsoft.Python.LanguageServer ln -s /opt/mspyls/Microsoft.Python.LanguageServer /usr/bin/Microsoft.Python.LanguageServer
rm Python-Language-Server-linux-x64.*.nupkg rm Python-Language-Server-linux-x64.*.nupkg
# SNOBOL # Scala
wget -nv ftp://ftp.snobol4.org/snobol/old/snobol4-2.1.4.tar.gz wget -nv https://git.io/coursier-cli
tar -xf snobol4-*.tar.gz chmod +x coursier-cli
rm snobol4-*.tar.gz mv coursier-cli /usr/bin/coursier
pushd snobol4-* >/dev/null coursier bootstrap --java-opt -Xss4m --java-opt -Xms100m --java-opt -Dmetals.client=emacs org.scalameta:metals_2.12:0.9.1 -r bintray:scalacenter/releases -r sonatype:snapshots -o /usr/bin/metals
make || true metals -version </dev/null
mv snobol4 /usr/bin/snobol4 mkdir /opt/coursier
popd >/dev/null mv "$HOME/.cache/coursier" /opt/coursier/cache
rm -rf snobol4-*
# Swift # Swift
gdown "https://drive.google.com/uc?export=download&id=1eE1-VuZz0gv-fITaGVT_r1UunCLjS-JT" swift.tar.gz gdown "https://drive.google.com/uc?export=download&id=1eE1-VuZz0gv-fITaGVT_r1UunCLjS-JT" swift.tar.gz

View File

@ -35,5 +35,15 @@ git clone https://github.com/bipinu/malbolge.git
clang malbolge/malbolge.c -o /usr/bin/malbolge clang malbolge/malbolge.c -o /usr/bin/malbolge
rm -rf malbolge rm -rf malbolge
# SNOBOL
wget -nv ftp://ftp.snobol4.org/snobol/old/snobol4-2.1.4.tar.gz
tar -xf snobol4-*.tar.gz
rm snobol4-*.tar.gz
pushd snobol4-* >/dev/null
make || true
mv snobol4 /usr/bin/snobol4
popd >/dev/null
rm -rf snobol4-*
popd >/dev/null popd >/dev/null
rm "$0" rm "$0"