more stuff

This commit is contained in:
2023-10-03 11:17:34 -05:00
parent 6d8df1881f
commit b1c3d01773
8 changed files with 96 additions and 68 deletions
+17 -11
View File
@@ -10,26 +10,30 @@
"}}"
] @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) @keyword)
(attribute object:
(primary_expression) @variable)
(attribute attribute:
(identifier) @property)
(tag_statement tag_name:
(identifier) @function)
(tag_statement tag_argument:
(keyword_argument keyword_name:
((identifier) @parameter)))
(keyword_argument keyword_name:
((identifier) @parameter)))
(filter filter_name: ((identifier) @function))
(filter filter_name:
((identifier) @function))
[
"for"
@@ -39,6 +43,8 @@
"and"
"is"
"as"
"endfor"
"endif"
"else"
"empty"
] @keyword
;(content) @html
+3
View File
@@ -0,0 +1,3 @@
((content) @injection.content
(#set! injection.language "html")
(#set! injection.combined))