riju/langs/elm.yaml

37 lines
483 B
YAML

id: "elm"
name: "Elm"
install:
npm:
- "@kachkaev/run-elm"
- "@elm-tooling/elm-language-server"
repl: |
elm repl
main: "Main.elm"
template: |
module Main exposing (..)
output : String
output = "Hello, world!"
run: |
cp /opt/elm/elm.json elm.json && run-elm Main.elm; elm repl
scope:
code: |
x = 123 * 234
input: |
import Main
Main.x
lsp:
setup: |
cp /opt/elm/elm.json elm.json
start: |
elm-language-server --stdio
skip:
- lsp