Skip to main content

LSP_COMPLETION_KIND_ID

Constant LSP_COMPLETION_KIND_ID 

Source
pub const LSP_COMPLETION_KIND_ID: u32 = 1; // 1u32
Expand description

CSM.8b: LspCompletionMeta + LSP_COMPLETION_KIND_ID moved into lattice-lsp::completion so the type lives in the crate that owns lsp-types. The host imports them via this re-export – candidate payloads carry the serde- encoded form directly (encode_meta / decode_meta) so the parallel App.insert_completion_lsp_meta sidecar is gone; the candidate IS the metadata. Extension::kind_id discriminant for LSP-sourced candidates. Values 0-99 reserved for first-party host data (snippet uses 2); plugins use 1000+. The host’s decoder checks this id before attempting decode_meta.