You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
For some reason,
purescript-indentation.el
instead of implementing just a single indentation function has implemented two of them:purescript-newline-and-indent
andpurescript-indentation-indent-line
(akaindent-line-function
). As result, whenever a minor-mode binding callsindent-line-function
, this results in indentation being zero.For example, if you call
evil-open-below
aftertype
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:
Start new line after the text and evaluate
(funcall indent-line-function)
Expected
No indentation
Actual
Indentation gets added
The text was updated successfully, but these errors were encountered: