
Co-Authored-By: Max <max@zed.dev> Release Notes: - vim: Added motions `[[`, `[]`, `]]`, `][` for navigating by section, `[m`, `]m`, `[M`, `]M` for navigating by method, and `[*`, `]*`, `[/`, `]/` for comments. These currently only work for languages built in to Zed, as they are powered by new tree-sitter queries. - vim: Added new text objects: `ic`, `ac` for inside/around classes, `if`,`af` for functions/methods, and `g c` for comments. These currently only work for languages built in to Zed, as they are powered by new tree-sitter queries. --------- Co-authored-by: Max <max@zed.dev>
30 lines
550 B
Scheme
30 lines
550 B
Scheme
(comment) @comment.around
|
|
|
|
(rule_set
|
|
(block (
|
|
"{"
|
|
(_)* @function.inside
|
|
"}" ))) @function.around
|
|
(keyframe_block
|
|
(block (
|
|
"{"
|
|
(_)* @function.inside
|
|
"}" ))) @function.around
|
|
|
|
(media_statement
|
|
(block (
|
|
"{"
|
|
(_)* @class.inside
|
|
"}" ))) @class.around
|
|
|
|
(supports_statement
|
|
(block (
|
|
"{"
|
|
(_)* @class.inside
|
|
"}" ))) @class.around
|
|
|
|
(keyframes_statement
|
|
(keyframe_block_list (
|
|
"{"
|
|
(_)* @class.inside
|
|
"}" ))) @class.around
|