We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af66ea7 commit fd72772Copy full SHA for fd72772
tests/haskell-indentation-tests.el
@@ -850,6 +850,26 @@ fact n =
850
(4 0 2 4 6)
851
(5 0 2 4 6))
852
853
+(hindent-test "47a multiline strings" "
854
+fact n = \"\\
855
+ \\a\""
856
+ (1 0)
857
+ ;; we want to offer both a continuation style and the
858
+ ;; align to left column style (like in lisp)
859
+ (2 0 9)
860
+ (3 0 2))
861
+
862
+(hindent-test "47b multiline strings" "
863
864
+ \\a\\
865
+ \\x\""
866
+ ;; here we want to keep third line like the second one,
867
+ ;; although the second one wasn't best indented
868
869
870
+ (3 6))
871
872
873
(defmacro with-temp-switch-to-buffer (&rest body)
874
"Create a temporary buffer, use `switch-to-buffer' and evaluate BODY there like `progn'.
875
0 commit comments