1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/bundle/nvim-treesitter/queries/htmldjango/highlights.scm

36 lines
515 B
Scheme

; adapted from https://github.com/interdependence/tree-sitter-htmldjango
[
(unpaired_comment)
(paired_comment)
] @comment @spell
[
"{{" "}}"
"{%" "%}"
(end_paired_statement)
] @punctuation.bracket
[
"end"
(tag_name)
] @function
(variable_name) @variable
(filter_name) @method
(filter_argument) @parameter
(keyword) @keyword
(operator) @operator
(variable "|" @operator)
(paired_statement "=" @operator)
(keyword_operator) @keyword.operator
(number) @number
(boolean) @boolean
(string) @string