Expand description
Per-language snippet registry. Stores parsed bodies
keyed by trigger prefix; the host’s gen:snippet source
consults this registry per-popup-trigger.
Structs§
- Snippet
- One snippet entry.
prefixesmay have multiple entries (TextMate JSON"prefix": ["loop", "fr"]form). Body is pre-parsed; the load path runs the parser once at startup. - Snippet
Meta - Display-only metadata for a snippet – the bits the completion popup row needs without pulling in the body.
- Snippet
Registry - Per-language store. Snippets index by every prefix they register (multi-prefix snippets register under each).