bangbangsheshotmedown
2024-11-04 11:02:19 -05:00
committed by GitHub
co-authored by Marshall Bowers
parent 1e944a51ff
commit 4bbddcad31
5 changed files with 142 additions and 8 deletions
@@ -2,6 +2,7 @@ interface lsp {
/// An LSP completion.
record completion {
label: string,
label-details: option<completion-label-details>,
detail: option<string>,
kind: option<completion-kind>,
insert-text-format: option<insert-text-format>,
@@ -37,6 +38,12 @@ interface lsp {
other(s32),
}
/// Label details for an LSP completion.
record completion-label-details {
detail: option<string>,
description: option<string>,
}
/// Defines how to interpret the insert text in a completion item.
variant insert-text-format {
plain-text,