Skip to content

Commit eb22d77

Browse files
azizkprincemaple
authored andcommitted
Elixir: write out single inline match statements on two lines.
1 parent 0ca8ba0 commit eb22d77

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Elixir.sublime-syntax

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,8 @@ contexts:
247247
- match: (?="""|''')
248248
set:
249249
- include: heredoc_string_interpolated
250-
- {match: '', set: string_modifiers_and_pop}
250+
- match: ''
251+
set: string_modifiers_and_pop
251252
- match: (?=[/|"'])
252253
set:
253254
- meta_scope: meta.string.elixir
@@ -261,7 +262,8 @@ contexts:
261262
scope: string.quoted.other.literal.lower.elixir punctuation.definition.string.end.elixir
262263
pop: true
263264
- include: escaped_or_interpolated
264-
- {match: '', set: string_modifiers_and_pop}
265+
- match: ''
266+
set: string_modifiers_and_pop
265267
- match: \{
266268
scope: punctuation.definition.string.begin.elixir
267269
set:
@@ -299,7 +301,8 @@ contexts:
299301
- match: (?="""|''')
300302
set:
301303
- include: heredoc_string_raw
302-
- {match: '', set: string_modifiers_and_pop}
304+
- match: ''
305+
set: string_modifiers_and_pop
303306
- match: (?=[/|"'])
304307
set:
305308
- meta_scope: meta.string.elixir
@@ -312,7 +315,8 @@ contexts:
312315
- match: \1
313316
scope: string.quoted.other.literal.upper.elixir punctuation.definition.string.end.elixir
314317
pop: true
315-
- {match: '', set: string_modifiers_and_pop}
318+
- match: ''
319+
set: string_modifiers_and_pop
316320
- match: \{
317321
scope: punctuation.definition.string.begin.elixir
318322
set:

0 commit comments

Comments
 (0)