mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 05:20:00 -04:00
114 lines
1.7 KiB
Scheme
114 lines
1.7 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
|
|
|
|
(fat_arrow) @operator
|
|
|
|
(semicolon) @punctuation.delimiter
|
|
|
|
(equals) @punctuation.delimiter
|
|
|
|
(string_line) @string
|
|
|
|
(comment_block) @comment
|
|
|
|
(open_comment) @operator
|
|
|
|
(close_comment) @operator
|
|
|
|
(continue_) @keyword.conditional
|
|
|
|
(break_) @keyword.conditional
|
|
|
|
((start_symbol) @keyword.import
|
|
.
|
|
(extends_) @keyword.import)
|
|
|
|
(raw_) @keyword
|
|
|
|
((start_symbol) @keyword.import
|
|
.
|
|
(include_directive
|
|
(include_) @keyword.import))
|
|
|
|
(render_) @keyword
|
|
|
|
(render_body_) @keyword
|
|
|
|
(child_content_) @keyword
|
|
|
|
(section_) @keyword
|
|
|
|
(section_block
|
|
name: (rust_identifier) @module)
|
|
|
|
(as_) @keyword.operator
|
|
|
|
(as_clause
|
|
alias: (rust_identifier) @type)
|
|
|
|
((start_symbol) @keyword.import
|
|
.
|
|
(use_directive
|
|
(use_) @keyword.import))
|
|
|
|
(number) @number
|
|
|
|
(bool) @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) @variable.parameter)
|
|
|
|
((start_symbol) @function.call
|
|
.
|
|
(rust_expr_simple))
|
|
|
|
((start_symbol) @function.call
|
|
.
|
|
(rust_expr_paren))
|
|
|
|
((start_symbol) @keyword.directive
|
|
.
|
|
(rust_block))
|
|
|
|
((start_symbol) @keyword.conditional
|
|
.
|
|
(if_stmt))
|
|
|
|
((start_symbol) @keyword
|
|
.
|
|
(for_stmt))
|
|
|
|
((start_symbol) @keyword.repeat
|
|
.
|
|
(while_stmt))
|
|
|
|
((start_symbol) @keyword.conditional
|
|
.
|
|
(match_stmt))
|
|
|
|
;this is for now extra
|
|
(else_clause
|
|
head: (rust_text) @keyword.conditional)
|