diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-06-05 15:58:05 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-06-05 15:58:05 +0800 |
| commit | 2f0d8531d72514be893880430a370470bbe50aeb (patch) | |
| tree | 74c0b9133d3b4720ca2064a3f9ca5b68437fa0db /mingling_core/src/comp.rs | |
| parent | f34033cc90b3b9ec1cf549419b1f2d3fc6318a58 (diff) | |
Exclude all hidden nodes from completion filtering
Diffstat (limited to 'mingling_core/src/comp.rs')
| -rw-r--r-- | mingling_core/src/comp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_core/src/comp.rs b/mingling_core/src/comp.rs index 4f3890a..1769a5c 100644 --- a/mingling_core/src/comp.rs +++ b/mingling_core/src/comp.rs @@ -155,7 +155,7 @@ where let cmd_nodes: Vec<String> = this::<P>() .get_nodes() .into_iter() - .filter(|(s, _)| s != "__comp") + .filter(|(s, _)| !s.starts_with('_')) .map(|(s, _)| s) .collect(); debug!("cmd_nodes: {:?}", cmd_nodes); |
