diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-15 12:58:22 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-15 12:58:22 +0800 |
| commit | ac69d89702269436303f704f8b028dd5fe6578be (patch) | |
| tree | 7a3e25d0a1cea1d6935bc64198aea936d3b35aa1 /mingling_macros/src/lib.rs | |
| parent | 41fda77f7bb262c97c3e1d8937be8b1c1716a26f (diff) | |
Add type registration for CompletionContext
Diffstat (limited to 'mingling_macros/src/lib.rs')
| -rw-r--r-- | mingling_macros/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mingling_macros/src/lib.rs b/mingling_macros/src/lib.rs index 9276fca..8ddda8b 100644 --- a/mingling_macros/src/lib.rs +++ b/mingling_macros/src/lib.rs @@ -156,6 +156,8 @@ pub fn program_gen_completion(input: TokenStream) -> TokenStream { } } + ::mingling::macros::register_type!(CompletionContext); + #[::mingling::macros::renderer(#name)] pub fn __render_completion(prev: CompletionSuggest) { let (ctx, suggest) = prev.inner; |
