Configure LSP for Clojure

This commit is contained in:
Radon Rosborough 2020-07-05 14:37:17 -06:00
parent eb66554ce4
commit 80cd12ec19
2 changed files with 7 additions and 0 deletions

View File

@ -244,6 +244,7 @@ int main() {
repl: "clojure",
main: "main.clj",
run: "clojure -i main.clj -r",
lsp: "clojure-lsp",
template: `(println "Hello, world!")
`,
},

View File

@ -21,6 +21,12 @@ tar -xf linux-x86_64-static.tar.gz
mv stack-*-linux-x86_64-static/stack /usr/bin/stack
rm -rf stack-*-linux-x86_64-static linux-x86_64-static.tar.gz
# Clojure
cd /tmp
wget -nv https://github.com/snoe/clojure-lsp/releases/download/release-20200629T153107/clojure-lsp
chmod +x clojure-lsp
mv clojure-lsp /usr/bin/clojure-lsp
# D
cd /tmp
wget -nv http://downloads.dlang.org/releases/2.x/2.092.0/dmd_2.092.0-0_amd64.deb