From dff2d75fe7a445d5688fe0f7c2bf417137326379 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sat, 22 Aug 2020 16:57:47 -0600 Subject: [PATCH] WIP: Perl LSP --- backend/src/langs.ts | 3 +++ scripts/docker-install-phase3c.bash | 1 + scripts/docker-install-phase5.bash | 1 + 3 files changed, 5 insertions(+) diff --git a/backend/src/langs.ts b/backend/src/langs.ts index dc16b32..76bedac 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -1678,6 +1678,9 @@ end. input: `print ("Hello, world!\\n"); `, }, + lsp: { + start: `perl -MPerl::LanguageServer -e Perl::LanguageServer::run`, + }, template: `print("Hello, world!\\n"); `, }, diff --git a/scripts/docker-install-phase3c.bash b/scripts/docker-install-phase3c.bash index b02aa5e..1e39c32 100755 --- a/scripts/docker-install-phase3c.bash +++ b/scripts/docker-install-phase3c.bash @@ -44,6 +44,7 @@ octave fpc # Perl +libperl-dev perl perlconsole diff --git a/scripts/docker-install-phase5.bash b/scripts/docker-install-phase5.bash index 0295931..f58b91f 100755 --- a/scripts/docker-install-phase5.bash +++ b/scripts/docker-install-phase5.bash @@ -73,6 +73,7 @@ ln -s /opt/opam/default/bin/refmt /usr/local/bin/refmt # Perl cpanm -n Devel::REPL cpanm -n Perl::Tidy +cpanm -n Perl::LanguageServer # PHP npm install -g intelephense