Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion purescript-indentation.el
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ indent the current line. This has to be fixed elsewhere."
"Return token starting at point."
(cond ((looking-at
(rx (group
(or "if" "then" "else" "let" "in" "ado" "mdo" "rec"
(or "if" "then" "else" "let" "in" "ado" "mdo" "rec" "import"
(seq (0+ (seq (1+ word) ".")) "do")
"proc" "case" "of" "where" "module" "data" "type" "newtype"
"class" "instance"))
Expand Down
1 change: 0 additions & 1 deletion tests/purescript-indentation-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ data Foo = Foo1 Bar |
Foo3 Unit"))

(ert-deftest imports-zero-indented ()
:expected-result :failed
(purescript-test-indentation "
module MyModule where

Expand Down