Open
Description
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
, this results in indentation being zero.
For example, if you call evil-open-below
after type
declaration, it will get indented even though it shouldn't.
The two functions should be unified, I think.
Steps to reproduce
-
Open purescript-mode buffer with text:
type Foo = {}
-
Start new line after the text and evaluate
(funcall indent-line-function)
Expected
No indentation
Actual
Indentation gets added
Metadata
Metadata
Assignees
Labels
No labels