WIP: F# LSP

This commit is contained in:
Radon Rosborough 2020-08-22 17:27:03 -06:00
parent ebed873b5c
commit 88db16a90e
2 changed files with 8 additions and 0 deletions

View File

@ -905,6 +905,9 @@ USE: io
code: `let x = 123 * 234`,
input: `x ;;`,
},
lsp: {
start: "mono /opt/fsautocomplete/fsautocomplete.dll",
},
template: `printfn "Hello, world!"
`,
timeout: 15,

View File

@ -103,6 +103,11 @@ tar -xf euphor*.tar -C /opt/euphoria --strip-components=1
ln -s /opt/euphoria/bin/exu /usr/bin/
rm euphor*.tar
# F#
wget -nv https://github.com/fsharp/FsAutoComplete/releases/download/0.41.1/fsautocomplete.netcore.zip
unzip -d /opt/fsautocomplete fsautocomplete.netcore.zip
rm fsautocomplete.netcore.zip
# Factor
ver="$(curl -sSL https://factorcode.org/ | grep -Eo 'release\?os=linux[^>]+>[^<]+' | sed -E 's/[^>]+>//' | head -n1)"
wget -nv "https://downloads.factorcode.org/releases/${ver}/factor-linux-x86-64-${ver}.tar.gz"