Add languages/zedee/highlights.scm

This commit is contained in:
Shye Strange 2025-06-25 14:22:16 +00:00
parent efa6152ed2
commit 8dbe413053

View file

@ -0,0 +1,58 @@
(bool) @boolean
(integer) @number
(float) @number
(lit_string) @string
(identifier) @variable
(fn_call
fn_name: (identifier) @function)
(kwarg
key: (identifier) @property)
(pair
key: (lit_string) @property)
(zedee_statement_open) @punctuation.special
(zedee_statement_close) @punctuation.special
(zedee_value_open) @punctuation.special
(zedee_value_close) @punctuation.special
(zedee_comment_open) @comment
(zedee_comment_close) @comment
(zedee_comment_content) @comment
(html_content) @text.literal
(html_tag_name) @text.literal
["(" ")" "[" "]" "{" "}"] @punctuation.bracket
["," ":" "="] @punctuation.delimiter
(comparison
operator: _ @operator)
["if" "elif" (zedee_else) "for" "in" "block" "endblock" "extends" "include" "import" "from" "as" "set" "macro" "endmacro" "call" "endcall" "filter" (zedee_raw) "endraw"] @keyword
(zedee_block
block_name: (identifier) @function)
(zedee_macro
macro_name: (identifier) @function)
(zedee_filter
filter_name: (identifier) @function)
(zedee_extends
parent_template: (lit_string) @string.special)
(zedee_include
template: (lit_string) @string.special)
(zedee_import
module: (lit_string) @string.special)
(zedee_from
module: (lit_string) @string.special)