File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -521,11 +521,6 @@ POSITIVE-RE and NEGATIVE-RE are regular expressions."
521
521
(forward-line -1 )
522
522
523
523
(cond
524
- ((line-continued-p)
525
- ; ; Return indentation of previous non-continued line.
526
- (back-to-non-continued)
527
- (throw :indent (current-indentation )))
528
-
529
524
((fish/at-empty-line?)
530
525
; ; Return indentation of previous non-continued line.
531
526
(back-to-non-continued)
@@ -554,6 +549,11 @@ POSITIVE-RE and NEGATIVE-RE are regular expressions."
554
549
((fish/at-open-end?)
555
550
(throw :indent (- (current-indentation ) fish-indent-offset)))
556
551
552
+ ((line-continued-p)
553
+ ; ; Return indentation of previous non-continued line.
554
+ (back-to-non-continued)
555
+ (throw :indent (current-indentation )))
556
+
557
557
(t
558
558
; ; Return current indentation.
559
559
(throw :indent (current-indentation )))))))))
Original file line number Diff line number Diff line change @@ -125,7 +125,10 @@ function print_status
125
125
foo \
126
126
bar \
127
127
baz \
128
- quux
128
+ quux \
129
+ while true
130
+ foo
131
+ end
129
132
end
130
133
131
134
find . \
You can’t perform that action at this time.
0 commit comments