Files
nvim-config/queries/htmldjango/highlights.scm
T

45 lines
596 B
Scheme

[
"|"
":"
] @punctuation
[
"{%"
"%}"
"{{"
"}}"
] @comment
(string) @string
(integer) @number
(float) @float
(true) @boolean
(false) @boolean
(none) @boolean
(identifier) @variable
(attribute object: (primary_expression) @variable)
(attribute attribute: (identifier) @property)
(tag_statement tag_name: (identifier) @keyword)
(tag_statement tag_argument:
(keyword_argument keyword_name:
((identifier) @parameter)))
(filter filter_name: ((identifier) @function))
[
"for"
"if"
"not"
"in"
"and"
"is"
"as"
] @keyword
;(content) @html