WIP: F# LSP
This commit is contained in:
parent
ebed873b5c
commit
88db16a90e
|
@ -905,6 +905,9 @@ USE: io
|
||||||
code: `let x = 123 * 234`,
|
code: `let x = 123 * 234`,
|
||||||
input: `x ;;`,
|
input: `x ;;`,
|
||||||
},
|
},
|
||||||
|
lsp: {
|
||||||
|
start: "mono /opt/fsautocomplete/fsautocomplete.dll",
|
||||||
|
},
|
||||||
template: `printfn "Hello, world!"
|
template: `printfn "Hello, world!"
|
||||||
`,
|
`,
|
||||||
timeout: 15,
|
timeout: 15,
|
||||||
|
|
|
@ -103,6 +103,11 @@ tar -xf euphor*.tar -C /opt/euphoria --strip-components=1
|
||||||
ln -s /opt/euphoria/bin/exu /usr/bin/
|
ln -s /opt/euphoria/bin/exu /usr/bin/
|
||||||
rm euphor*.tar
|
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
|
# Factor
|
||||||
ver="$(curl -sSL https://factorcode.org/ | grep -Eo 'release\?os=linux[^>]+>[^<]+' | sed -E 's/[^>]+>//' | head -n1)"
|
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"
|
wget -nv "https://downloads.factorcode.org/releases/${ver}/factor-linux-x86-64-${ver}.tar.gz"
|
||||||
|
|
Loading…
Reference in New Issue