Commit ec85fb9 1 parent dfc31e7 commit ec85fb9 Copy full SHA for ec85fb9
File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 2
2
; HEEx delimiters
3
3
[
4
4
" <!"
5
- " <!--"
6
5
" <"
7
- " <%!--"
8
6
" <%#"
9
7
" >"
10
8
" </"
11
- " --%>"
12
- " -->"
13
9
" />"
14
10
; These could be `@keyword`s but the closing `>` wouldn't be highlighted
15
11
; as `@keyword`
34
30
(doctype) @constant
35
31
36
32
; HEEx comments are highlighted as such
37
- (comment) @comment
33
+ [
34
+ " <!--"
35
+ " -->"
36
+ " <%!--"
37
+ " --%>"
38
+ (comment)
39
+ ] @comment
38
40
39
41
; HEEx tags are highlighted as HTML
40
42
(tag_name) @tag
Original file line number Diff line number Diff line change 19
19
; <link href={ Routes.static_path(..) } />
20
20
((expression (expression_value) @injection.content)
21
21
(#set! injection.language " elixir" ))
22
+
23
+ ((comment) @injection.content
24
+ (#set! injection.language " comment" ))
You can’t perform that action at this time.
0 commit comments