Skip to content

Commit ff4bc8c

Browse files
wingyplusrodrigues
authored andcommitted
Move interpolation to the top
1 parent dd56748 commit ff4bc8c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

queries/elixir/highlights.scm

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
; TODO: handle not in
44
["when" "and" "or" "not" "in" "fn" "do" "end" "catch" "rescue" "after" "else"] @keyword
55

6+
; Interpolation
7+
8+
(interpolation
9+
"#{" @punctuation.special
10+
(_) @embedded
11+
"}" @punctuation.special)
12+
613
; Operators
714

815
; * doc string
@@ -73,11 +80,6 @@
7380

7481
; Quoted content
7582

76-
(interpolation
77-
"#{" @punctuation.special
78-
(_) @embedded
79-
"}" @punctuation.special)
80-
8183
(escape_sequence) @string.escape
8284

8385
[

0 commit comments

Comments
 (0)