Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/htmldjango/highlights.scm')
-rw-r--r--runtime/queries/htmldjango/highlights.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/runtime/queries/htmldjango/highlights.scm b/runtime/queries/htmldjango/highlights.scm
new file mode 100644
index 00000000..c8077f94
--- /dev/null
+++ b/runtime/queries/htmldjango/highlights.scm
@@ -0,0 +1,26 @@
+[
+ (unpaired_comment)
+ (paired_comment)
+] @comment
+
+[
+ "{{"
+ "}}"
+ "{%"
+ "%}"
+ (end_paired_statement)
+] @punctuation.bracket
+
+[
+ (tag_name)
+] @function
+
+(variable_name) @variable
+(filter_name) @function
+(filter_argument) @variable.parameter
+(keyword) @keyword
+(operator) @operator
+(keyword_operator) @keyword.operator
+(number) @constant.numeric
+(boolean) @constant.builtin.boolean
+(string) @string