WIP: Nim LSP

This commit is contained in:
Radon Rosborough 2020-08-22 19:16:45 -06:00
parent d5503db374
commit 32bf52a8dd
1 changed files with 9 additions and 0 deletions

View File

@ -3,11 +3,16 @@
set -e
set -o pipefail
set -x
pushd /tmp >/dev/null
# Package manager - Julia
mkdir /opt/julia
export JULIA_DEPOT_PATH=/opt/julia
# Package manager - Nim
git clone https://github.com/nim-lang/Nim.git --depth=1 --single-branch --no-tags /opt/nim
ln -s /opt/nim/nimsuggest /usr/nimsuggest
# Package manager - Node.js
npm config set unsafe-perm true
PERL_MM_USE_DEFAULT=1 cpan App::cpanminus
@ -57,6 +62,9 @@ pip3 install hy
# Julia
julia -e 'using Pkg; Pkg.add("LanguageServer")'
# Nim
nimble install -y nimlsp
# Less
npm install -g less
@ -124,4 +132,5 @@ python3.7 -m pip install mathics
rm -rf /root/.cache /root/.config /root/.cpan /root/.cpanm /root/.dub /root/.gem /root/.npm /root/.npmrc
rm -f /tmp/core-js-banners
popd >/dev/null
rm "$0"