Configure LSP for Go and FORTRAN
This commit is contained in:
parent
80cd12ec19
commit
565379aaf3
|
@ -401,6 +401,7 @@ main() ->
|
||||||
main: "main.f",
|
main: "main.f",
|
||||||
compile: "flang main.f -o main",
|
compile: "flang main.f -o main",
|
||||||
run: "./main",
|
run: "./main",
|
||||||
|
lsp: "fortls",
|
||||||
template: ` program hello
|
template: ` program hello
|
||||||
print *, "Hello, world!"
|
print *, "Hello, world!"
|
||||||
end program hello
|
end program hello
|
||||||
|
@ -423,6 +424,7 @@ main() ->
|
||||||
main: "main.go",
|
main: "main.go",
|
||||||
compile: "go build main.go",
|
compile: "go build main.go",
|
||||||
run: "./main",
|
run: "./main",
|
||||||
|
lsp: "gopls",
|
||||||
template: `package main
|
template: `package main
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
|
@ -34,6 +34,9 @@ npm install -g coffeescript
|
||||||
# Elm
|
# Elm
|
||||||
npm install -g @kachkaev/run-elm
|
npm install -g @kachkaev/run-elm
|
||||||
|
|
||||||
|
# FORTRAN
|
||||||
|
pip3 install fortran-language-server
|
||||||
|
|
||||||
# Perl
|
# Perl
|
||||||
cpanm -n Devel::REPL
|
cpanm -n Devel::REPL
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,12 @@ gunzip binary-for-linux-64-bit.gz
|
||||||
chmod +x binary-for-linux-64-bit
|
chmod +x binary-for-linux-64-bit
|
||||||
mv binary-for-linux-64-bit /usr/bin/elm
|
mv binary-for-linux-64-bit /usr/bin/elm
|
||||||
|
|
||||||
|
# Go
|
||||||
|
export GO111MODULE=on
|
||||||
|
export GOPATH=/tmp/go
|
||||||
|
mv /tmp/go/bin/gopls /usr/bin/gopls
|
||||||
|
rm -rf /tmp/go
|
||||||
|
|
||||||
# Ink
|
# Ink
|
||||||
cd /tmp
|
cd /tmp
|
||||||
wget -nv https://github.com/thesephist/ink/releases/download/v0.1.7/ink-linux
|
wget -nv https://github.com/thesephist/ink/releases/download/v0.1.7/ink-linux
|
||||||
|
@ -74,6 +80,7 @@ wget -nv "${nupkg}"
|
||||||
unzip -d /opt/mspyls Python-Language-Server-linux-x64.*.nupkg
|
unzip -d /opt/mspyls Python-Language-Server-linux-x64.*.nupkg
|
||||||
chmod +x /opt/mspyls/Microsoft.Python.LanguageServer
|
chmod +x /opt/mspyls/Microsoft.Python.LanguageServer
|
||||||
ln -s /opt/mspyls/Microsoft.Python.LanguageServer /usr/bin/Microsoft.Python.LanguageServer
|
ln -s /opt/mspyls/Microsoft.Python.LanguageServer /usr/bin/Microsoft.Python.LanguageServer
|
||||||
|
rm Python-Language-Server-linux-x64.*.nupkg
|
||||||
|
|
||||||
# SNOBOL
|
# SNOBOL
|
||||||
wget -nv ftp://ftp.snobol4.org/snobol/old/snobol4-2.1.4.tar.gz
|
wget -nv ftp://ftp.snobol4.org/snobol/old/snobol4-2.1.4.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue