File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 8484 " ===" " !==" ; comp3
8585 " ==" " !=" " <=" " >=" ; comp2
8686 " <" " >" ; comp1
87- " +" " -" " *" " /" " =" " |" " !" " ^" " @" ; op1
8887 " &&" " ||" " <>" " ++" " --" " **" " //" " ::" " <-" " .." " />" " =~" ; op2 (minus ->)
8988 " xor" " |>" ; http://elixir-lang.org/docs/stable/Kernel.html
9089 )
@@ -320,7 +319,7 @@ Return non-nil if any line breaks were skipped."
320319 (`(:after . " end" ) 0 )
321320 (`(:after . ,(or `" do" ))
322321 elixir-smie-indent-basic)
323- (`(:list-intro . ,(or `" do" )) t )))
322+ (`(:list-intro . ,(or `" do" ` " ; " )) t )))
324323
325324(define-minor-mode elixir-smie-mode
326325 " SMIE-based indentation and syntax for Elixir"
Original file line number Diff line number Diff line change @@ -126,20 +126,23 @@ defmodule FooBar do
126126end" )
127127
128128(elixir-def-indentation-test indents-after-empty-line
129- (:expected-result :failed ) ; #18
129+ ()
130130 "
131+ def foo do
131132a = 2
132133
133- b = a + 3
134+ b = a + 3
134135
135- c = a + b"
136+ c = a * b
137+ end"
136138 "
137- a = 2
138-
139- b = a + 3
139+ def foo do
140+ a = 2
140141
141- c = a + b " )
142+ b = a + 3
142143
144+ c = a * b
145+ end" )
143146
144147(elixir-def-indentation-test indents-function-calls-without-parens ()
145148 "
You can’t perform that action at this time.
0 commit comments