We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 369a268 commit 0302f65Copy full SHA for 0302f65
elixir-smie.el
@@ -98,6 +98,14 @@
98
(not (or (memq (char-before) '(?\{ ?\[))
99
(looking-back elixir-smie--operator-regexp (- (point) 3) t))))
100
101
+(defun elixir-smie--semi-ends-match ()
102
+ "Return non-nil if the current line concludes a match block."
103
+ (save-excursion
104
+ (forward-char)
105
+ (if (eolp) nil
106
+ (progn (move-end-of-line 1)
107
+ (looking-back elixir-smie--operator-regexp)))))
108
+
109
(defun elixir-smie-forward-token ()
110
(cond
111
;; If there is nothing but whitespace between the last token and eol, emit
0 commit comments