Skip to content

Commit 1a66063

Browse files
committed
Add MSD line-end check to backward token as well.
1 parent 9ed25d9 commit 1a66063

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

elixir-smie.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@
132132
(cond
133133
((and (> pos (line-end-position))
134134
(elixir-smie--implicit-semi-p))
135-
";")
135+
(if (elixir-smie--semi-ends-match)
136+
"MATCH-STATEMENT-DELIMITER"
137+
";"))
136138
((looking-back elixir-smie--block-operator-regexp (- (point) 3) t)
137139
(goto-char (match-beginning 0))
138140
"MATCH-STATEMENT-DELIMITER")

0 commit comments

Comments
 (0)