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 84
84
" ===" " !==" ; comp3
85
85
" ==" " !=" " <=" " >=" ; comp2
86
86
" <" " >" ; comp1
87
- " +" " -" " *" " /" " =" " |" " !" " ^" " @" ; op1
88
87
" &&" " ||" " <>" " ++" " --" " **" " //" " ::" " <-" " .." " />" " =~" ; op2 (minus ->)
89
88
" xor" " |>" ; http://elixir-lang.org/docs/stable/Kernel.html
90
89
)
@@ -320,7 +319,7 @@ Return non-nil if any line breaks were skipped."
320
319
(`(:after . " end" ) 0 )
321
320
(`(:after . ,(or `" do" ))
322
321
elixir-smie-indent-basic)
323
- (`(:list-intro . ,(or `" do" )) t )))
322
+ (`(:list-intro . ,(or `" do" ` " ; " )) t )))
324
323
325
324
(define-minor-mode elixir-smie-mode
326
325
" SMIE-based indentation and syntax for Elixir"
Original file line number Diff line number Diff line change @@ -126,20 +126,23 @@ defmodule FooBar do
126
126
end" )
127
127
128
128
(elixir-def-indentation-test indents-after-empty-line
129
- (:expected-result :failed ) ; #18
129
+ ()
130
130
"
131
+ def foo do
131
132
a = 2
132
133
133
- b = a + 3
134
+ b = a + 3
134
135
135
- c = a + b"
136
+ c = a * b
137
+ end"
136
138
"
137
- a = 2
138
-
139
- b = a + 3
139
+ def foo do
140
+ a = 2
140
141
141
- c = a + b " )
142
+ b = a + 3
142
143
144
+ c = a * b
145
+ end" )
143
146
144
147
(elixir-def-indentation-test indents-function-calls-without-parens ()
145
148
"
You can’t perform that action at this time.
0 commit comments