blob: 9561243a672f6c8d01f5d8e2c4942c0ed156fc37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Auto generated by build.rs
use comp_system_macros::file_suggest;
use crate::systems::comp::{context::CompletionContext, result::CompletionResult};
pub fn match_comp(node: String, ctx: CompletionContext) -> CompletionResult {
let node_str = node.as_str();
match node_str {
>>>>>>>>>> comp_match_arms
_ => file_suggest!(),
}
}
pub fn jv_cmd_comp_nodes() -> Vec<String> {
vec![
>>>>>>>>>> comp_node_name
]
}
@@@ >>> comp_match_arms
// <<<comp_name>>>.rs
"<<<comp_node_name>>>" => crate::cmds::comp::<<<comp_name>>>::comp(ctx),
@@@ <<<
@@@ >>> comp_node_name
// <<<comp_node_name>>>
"<<<comp_node_name>>>".to_string(),
@@@ <<<
|