Skip to content

Commit 7746988

Browse files
committed
Remove unnecessary smie rule.
Since 'nil' is returned by default, having a rule that can only ever return 'nil' is redundant.
1 parent b352f22 commit 7746988

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

elixir-smie.el

-6
Original file line numberDiff line numberDiff line change
@@ -306,12 +306,6 @@ Return non-nil if any line breaks were skipped."
306306
(unless (smie-rule-sibling-p)
307307
elixir-smie-indent-basic))
308308
(`(:before . "def") elixir-smie-indent-basic)
309-
(`(:before . "OP")
310-
;; FIXME: Issue #5: This should prevent comments on lines before
311-
;; continuation lines from causing indentation messed-upness, but
312-
;; for some reason SMIE doesn't look this far when there's a
313-
;; comment terminating the previous line. Ugh.
314-
nil)
315309
;; If the parent token of `->' is `fn', then we want to align to the
316310
;; parent, and offset by `elixir-smie-indent-basic'. Otherwise, indent
317311
;; normally. This helps us work with/indent anonymous function blocks

0 commit comments

Comments
 (0)