LSP working for Ada
This commit is contained in:
parent
fd4a81a8d1
commit
49586c0950
|
@ -25,6 +25,7 @@ export const langs: { [key: string]: LangConfig } = {
|
||||||
main: "main.adb",
|
main: "main.adb",
|
||||||
compile: "x86_64-linux-gnu-gnatmake-9 main.adb",
|
compile: "x86_64-linux-gnu-gnatmake-9 main.adb",
|
||||||
run: "./main",
|
run: "./main",
|
||||||
|
lsp: "ada_language_server",
|
||||||
template: `with Ada.Text_IO;
|
template: `with Ada.Text_IO;
|
||||||
|
|
||||||
procedure Main is
|
procedure Main is
|
||||||
|
|
|
@ -21,6 +21,14 @@ tar -xf linux-x86_64-static.tar.gz
|
||||||
mv stack-*-linux-x86_64-static/stack /usr/bin/stack
|
mv stack-*-linux-x86_64-static/stack /usr/bin/stack
|
||||||
rm -rf stack-*-linux-x86_64-static linux-x86_64-static.tar.gz
|
rm -rf stack-*-linux-x86_64-static linux-x86_64-static.tar.gz
|
||||||
|
|
||||||
|
# Ada
|
||||||
|
cd /tmp
|
||||||
|
wget -nv https://dl.bintray.com/reznikmm/ada-language-server/linux-latest.tar.gz
|
||||||
|
tar -xf linux-latest.tar.gz
|
||||||
|
mv linux/ada_language_server /usr/bin/ada_language_server
|
||||||
|
mv linux/*.so* /usr/lib/x86_64-linux-gnu/
|
||||||
|
rm linux-latest.tar.gz
|
||||||
|
|
||||||
# Clojure
|
# Clojure
|
||||||
cd /tmp
|
cd /tmp
|
||||||
wget -nv https://github.com/snoe/clojure-lsp/releases/download/release-20200629T153107/clojure-lsp
|
wget -nv https://github.com/snoe/clojure-lsp/releases/download/release-20200629T153107/clojure-lsp
|
||||||
|
|
Loading…
Reference in New Issue