Closed goosetherumfoodle closed 4 years ago
I've never seen that before, that looks like somehow your Emacs is pretty printing the JSON across multiple lines instead of putting it in one? Did you somehow advise your json
functions?
I did a bit of reading and it seems there's a json-encoding-pretty-print
parameter you might've set to true globally? It's terrible API design, because it makes it so I can't control that I want single line JSON. If you want to work with psc-ide-emacs
you might have to turn that off.
Yup, removing that assignment fixed it. Thanks @kritzcreek !
I just installed psc-ide-emacs on emacs 26.3.
I have the following setup in my config file:
When I start the server from inside a purescript buffer, the server seems to start, but then a few seconds later the minibuffer flashes the following errors:
And the *psc-ide-server* buffer shows the following error:
It looks like it's just passing the server a single "{" char.