File tree 3 files changed +6
-11
lines changed
3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 31
31
(block_statement_end
32
32
path: (identifier) @keyword.conditional )
33
33
34
- ((mustache_statement
35
- (identifier) @keyword.conditional )
36
- (#lua-match? @keyword.conditional "else"))
34
+ [
35
+ "else"
36
+ "else if"
37
+ ] @keyword.conditional
38
+
37
39
38
40
; == Mustache Statements ===
39
41
; Highlight the whole statement, to color brackets and separators
Original file line number Diff line number Diff line change 22
22
"}}"
23
23
] @indent.branch
24
24
25
- (mustache_statement
26
- (helper_invocation
27
- helper: (identifier) @_identifier
28
- (#eq? @_identifier "else"))) @indent.branch
29
-
30
- (mustache_statement
31
- ((identifier) @_identifier
32
- (#eq? @_identifier "else"))) @indent.branch
25
+ (block_statement_inverse) @indent.branch
33
26
34
27
(comment_statement) @indent.ignore
You can’t perform that action at this time.
0 commit comments