Files
nvim-config/queries/htmldjango/highlights.scm
T
guy176251 0ec71045f4 Changes
- cleaned up plugin files
- htmldjango snippets and highlight fix
2024-05-01 20:11:35 -05:00

52 lines
647 B
Scheme

[
"|"
":"
] @punctuation
[
"{%"
"%}"
"{{"
"}}"
] @comment
(django_empty_comment) @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) @function)
(tag_statement tag_argument:
(keyword_argument keyword_name:
((identifier) @variable.parameter)))
(filter filter_name:
((identifier) @function))
[
"for"
"if"
"not"
"in"
"and"
"is"
"as"
"endfor"
"endif"
"else"
"empty"
"elif"
] @keyword