diff --git a/purescript-indentation.el b/purescript-indentation.el index 33bf8b2..a48a726 100644 --- a/purescript-indentation.el +++ b/purescript-indentation.el @@ -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")) diff --git a/tests/purescript-indentation-tests.el b/tests/purescript-indentation-tests.el index f61c90d..f2dac73 100644 --- a/tests/purescript-indentation-tests.el +++ b/tests/purescript-indentation-tests.el @@ -75,7 +75,6 @@ data Foo = Foo1 Bar | Foo3 Unit")) (ert-deftest imports-zero-indented () - :expected-result :failed (purescript-test-indentation " module MyModule where