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>
8 lines
156 B
Scheme
8 lines
156 B
Scheme
(comment)+ @comment.around
|
|
|
|
(function_definition
|
|
body: (_) @function.inside) @function.around
|
|
|
|
(class_definition
|
|
body: (_) @class.inside) @class.around
|