mirror of
https://github.com/helix-editor/helix
synced 2026-08-05 02:33:01 +02:00
85 lines
1.4 KiB
Scheme
85 lines
1.4 KiB
Scheme
(start_symbol) @keyword
|
|
(hash_symbol) @punctuation.special
|
|
|
|
(open_paren) @punctuation.bracket
|
|
(close_paren) @punctuation.bracket
|
|
(open_brace) @punctuation.bracket
|
|
(close_brace) @punctuation.bracket
|
|
|
|
(semicolon) @punctuation.delimiter
|
|
(equals) @punctuation.delimiter
|
|
|
|
(string_line) @string
|
|
|
|
(continue_) @keyword.control.conditional
|
|
(break_) @keyword.control.conditional
|
|
|
|
|
|
(child_content_) @keyword
|
|
|
|
(as_) @keyword.operator
|
|
(as_clause
|
|
alias: (component_tag_identifier) @type)
|
|
(
|
|
(start_symbol) @keyword.control.import
|
|
.
|
|
(use_directive (use_) @keyword.control.import)
|
|
)
|
|
|
|
(number) @constant.numeric
|
|
(bool) @constant.builtin.boolean
|
|
|
|
(tag_open) @punctuation.bracket
|
|
(tag_close) @punctuation.bracket
|
|
(tag_end_open) @punctuation.bracket
|
|
(tag_self_close) @punctuation.bracket
|
|
|
|
(component_tag
|
|
name: (component_tag_identifier) @tag)
|
|
|
|
(component_tag
|
|
name_close: (component_tag_identifier) @tag)
|
|
|
|
(component_tag_parameter
|
|
name: (rust_identifier) @attribute)
|
|
|
|
(
|
|
(start_symbol) @function.method
|
|
.
|
|
(rust_expr_simple)
|
|
)
|
|
|
|
(
|
|
(start_symbol) @function.method
|
|
.
|
|
(rust_expr_paren)
|
|
)
|
|
|
|
(
|
|
(start_symbol) @keyword.directive
|
|
.
|
|
(rust_block)
|
|
)
|
|
|
|
(
|
|
(start_symbol) @keyword.control.conditional
|
|
.
|
|
(if_stmt)
|
|
)
|
|
(
|
|
(start_symbol) @keyword
|
|
.
|
|
(for_stmt)
|
|
)
|
|
(
|
|
(start_symbol) @keyword.control.repeat
|
|
.
|
|
(while_stmt)
|
|
)
|
|
|
|
(param_name) @variable.parameter
|
|
|
|
;this is for now extra
|
|
(else_clause
|
|
head: (rust_text) @keyword.control.conditional)
|