Skip to content

Commit 9ed25d9

Browse files
committed
Emit match stmt delim if condition passes.
1 parent 0302f65 commit 9ed25d9

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
@@ -115,7 +115,9 @@
115115
";")
116116
((and (looking-at "[\n#]") (elixir-smie--implicit-semi-p))
117117
(if (eolp) (forward-char 1) (forward-comment 1))
118-
";")
118+
(if (elixir-smie--semi-ends-match)
119+
"MATCH-STATEMENT-DELIMITER"
120+
";"))
119121
((looking-at elixir-smie--block-operator-regexp)
120122
(goto-char (match-end 0))
121123
"MATCH-STATEMENT-DELIMITER")

0 commit comments

Comments
 (0)