tokyonight theme, highlights/injections

This commit is contained in:
2022-12-19 20:27:52 -06:00
parent 4b30748f16
commit 2ac774d166
7 changed files with 152 additions and 59 deletions
+42
View File
@@ -0,0 +1,42 @@
[
"|"
":"
] @punctuation
[
"{%"
"%}"
"{{"
"}}"
] @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)
(tag_statement tag_argument:
(keyword_argument keyword_name:
((identifier) @parameter)))
(filter filter_name: ((identifier) @function))
[
"for"
"if"
"not"
"in"
"and"
"is"
"as"
] @keyword