mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -04:00
33 lines
434 B
Scheme
33 lines
434 B
Scheme
(text) @text
|
|
(comment) @comment
|
|
(doctype) @constant
|
|
|
|
; HEEx attributes are highlighted as HTML attributes
|
|
(attribute_name) @tag.attribute
|
|
(quoted_attribute_value) @string
|
|
|
|
[
|
|
"%>"
|
|
"/>"
|
|
"<!"
|
|
"<"
|
|
"<%"
|
|
"<%#"
|
|
"<%%="
|
|
"<%="
|
|
"</"
|
|
">"
|
|
"{"
|
|
"}"
|
|
] @tag.delimiter
|
|
|
|
[
|
|
"="
|
|
] @operator
|
|
|
|
; HEEx tags are highlighted as HTML
|
|
(tag_name) @tag
|
|
|
|
; HEEx components are highlighted as types (Elixir modules)
|
|
(component_name) @type
|
|
|