2021-08-15 09:40:02 -07:00
|
|
|
(text) @text
|
|
|
|
|
(comment) @comment
|
2021-08-16 10:42:56 -07:00
|
|
|
(doctype) @constant
|
2021-08-15 09:40:02 -07:00
|
|
|
|
|
|
|
|
; HEEx attributes are highlighted as HTML attributes
|
|
|
|
|
(attribute_name) @tag.attribute
|
|
|
|
|
(quoted_attribute_value) @string
|
|
|
|
|
|
|
|
|
|
[
|
2021-08-16 10:42:56 -07:00
|
|
|
"%>"
|
2021-08-15 09:40:02 -07:00
|
|
|
"/>"
|
2021-08-16 10:42:56 -07:00
|
|
|
"<!"
|
|
|
|
|
"<"
|
2021-08-15 09:40:02 -07:00
|
|
|
"<%"
|
|
|
|
|
"<%#"
|
2021-08-16 10:42:56 -07:00
|
|
|
"<%%="
|
|
|
|
|
"<%="
|
|
|
|
|
"</"
|
|
|
|
|
">"
|
2021-08-15 09:40:02 -07:00
|
|
|
"{"
|
|
|
|
|
"}"
|
|
|
|
|
] @tag.delimiter
|
|
|
|
|
|
2021-08-16 10:42:56 -07:00
|
|
|
[
|
|
|
|
|
"="
|
|
|
|
|
] @operator
|
|
|
|
|
|
2021-08-15 09:40:02 -07:00
|
|
|
; HEEx tags are highlighted as HTML
|
|
|
|
|
(tag_name) @tag
|
|
|
|
|
|
|
|
|
|
; HEEx components are highlighted as types (Elixir modules)
|
|
|
|
|
(component_name) @type
|
|
|
|
|
|