Skip to content

Commit aecec45

Browse files
committed
Make sure comments are handled correctly when pressing return.
1 parent 43f0a06 commit aecec45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elixir-smie.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999

100100
(defun elixir-smie-forward-token ()
101101
(cond
102-
((and (looking-at "\n") (elixir-smie--implicit-semi-p))
102+
((and (looking-at "[\n#]") (elixir-smie--implicit-semi-p))
103103
(if (eolp) (forward-char 1) (forward-comment 1))
104104
";")
105105
((looking-at elixir-smie--operator-regexp)

0 commit comments

Comments
 (0)