reovim_plugin_treesitter/command.rs
1//! Treesitter navigation commands
2
3use reovim_core::declare_event_command;
4
5// === Scope navigation commands ===
6
7declare_event_command! {
8 JumpToParentScope,
9 id: "jump_to_parent_scope",
10 description: "Jump to parent scope header",
11}
12
13declare_event_command! {
14 JumpToPrevScope,
15 id: "jump_to_prev_scope",
16 description: "Jump to previous scope header",
17}
18
19declare_event_command! {
20 JumpToNextScope,
21 id: "jump_to_next_scope",
22 description: "Jump to next scope header",
23}