From 2f0d8531d72514be893880430a370470bbe50aeb Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Fri, 5 Jun 2026 15:58:05 +0800 Subject: Exclude all hidden nodes from completion filtering --- mingling_core/src/comp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mingling_core') 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 = this::

() .get_nodes() .into_iter() - .filter(|(s, _)| s != "__comp") + .filter(|(s, _)| !s.starts_with('_')) .map(|(s, _)| s) .collect(); debug!("cmd_nodes: {:?}", cmd_nodes); -- cgit