purescript-mode
purescript-mode copied to clipboard
Emacs major mode and related tools for Purescript
Hi, all. I am using emacs 28.2 on debian stable (bookworm), and `purescript-mode` is installed via `use-package`: ```elisp (use-package purescript-mode :ensure t) (use-package psc-ide :ensure t) ``` then I open...
Hi! I've noticed that comments like this ```purescript --| ... foo x = y ``` fail to properly hightlight as comments, and what I see is this: I've tried to...
In `let` and `case` expressions ```purescript test1 a = let { x } = a in x -- parse error from here test2 a = let { x: y }...
Howdy! I maintain a source code formatter: [`purty`][purty]. I'd like to add support for [using it from emacs][integration]. Is this something that could be added to `purescript-mode`? If so, I'd...
Given the apparently-legal snippet: ``` type MyRec = { data :: Number } ``` the indentation explodes with "Illegal token: data" after hitting TAB twice. It seems that all reserved...
Currently, there's only one name for the inf buffer with the PS IDE process - `*psc-ide-server-*`. So it's not possible to have multiple servers running. Maybe related, but `psc-ide-server-quit` never...
Currently calling indentation on a line that is already indented as expected results in buffer being modified despite no changes being actually done. Avoid this by checking if current indentation...
Turning on lexical-binding fixes a bunch of warnings like: purescript-indentation.el:399:47: Warning: ‘pi’ is an obsolete variable (as of 23.3); use ‘float-pi’ instead. these warnings are caused by Emacs not being...
The functions provide no useful cases because font-locking is enabled by default and can be disabled by turning off font-lock (which the "turn-off" function is a wrapper over). At the...
For some reason, `purescript-indentation.el` instead of implementing just a single indentation function has implemented two of them: `purescript-newline-and-indent` and `purescript-indentation-indent-line` *(aka `indent-line-function`)*. As result, whenever a minor-mode binding calls `indent-line-function`,...