nwolverson / purescript-language-server

MIT License
185 stars 42 forks source link

Use with spaghetto (spago@next) #197

Closed deemp closed 1 year ago

deemp commented 1 year ago

The new spago wants the --json-errors flag to be passed directly to spago. https://github.com/purescript/spago/blob/c0c5eddf7e5f3f7c2bab47ea73351c0e13dc20f2/spaghetto/bin/src/Flags.purs#L158

So, if using VS Code, add this to settings.json:

{
    "purescript.buildCommand": "spago build --json-errors"
}