more stuff
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
((content) @injection.content
|
||||
(#set! injection.language "html")
|
||||
(#set! injection.combined))
|
||||
Reference in New Issue
Block a user