From 4764c3c818e3da16a3cba3b9877d9beb635e4237 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 9 Apr 2026 15:12:11 +0800 Subject: Add basic completion module with shell integration --- mingling/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mingling/src') diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index eb1d970..140d563 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -67,6 +67,9 @@ pub mod parser; pub mod macros { /// Used to generate a struct implementing the `Chain` trait via a method pub use mingling_macros::chain; + /// Used to generate completion entry + #[cfg(feature = "comp")] + pub use mingling_macros::completion; /// Used to create a dispatcher that routes to a `Chain` pub use mingling_macros::dispatcher; /// Used to create a dispatcher that routes to a `Renderer` @@ -85,6 +88,9 @@ pub mod macros { pub use mingling_macros::r_println; /// Used to generate a struct implementing the `Renderer` trait via a method pub use mingling_macros::renderer; + #[cfg(feature = "comp")] + /// Used to generate suggestions + pub use mingling_macros::suggest; } /// derive macro Groupped -- cgit