LSP working for Ada

This commit is contained in:
Radon Rosborough 2020-07-07 12:20:53 -06:00
parent fd4a81a8d1
commit 49586c0950
2 changed files with 9 additions and 0 deletions

View File

@ -25,6 +25,7 @@ export const langs: { [key: string]: LangConfig } = {
main: "main.adb",
compile: "x86_64-linux-gnu-gnatmake-9 main.adb",
run: "./main",
lsp: "ada_language_server",
template: `with Ada.Text_IO;
procedure Main is

View File

@ -21,6 +21,14 @@ 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
# 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
cd /tmp
wget -nv https://github.com/snoe/clojure-lsp/releases/download/release-20200629T153107/clojure-lsp