Includes prior-session patches (carry forward so the app compiles): - crates/gpui/build.rs: cross-compile manifest fix - crates/gpui/src/platform.rs: PlatformWindow::activate_with_token trait method - crates/gpui/src/window.rs: Window::activate_with_token public API - crates/gpui_linux/src/linux/wayland/window.rs: WaylandWindow::activate_with_token + activate() keyboard-serial fix Plus the focus-serial fix: - serial.rs: SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; latest_serial_of() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
92 lines
1.8 KiB
Plaintext
92 lines
1.8 KiB
Plaintext
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>,
|
|
}
|
|
|
|
/// The kind of an LSP completion.
|
|
variant completion-kind {
|
|
text,
|
|
method,
|
|
function,
|
|
%constructor,
|
|
field,
|
|
variable,
|
|
class,
|
|
%interface,
|
|
module,
|
|
property,
|
|
unit,
|
|
value,
|
|
%enum,
|
|
keyword,
|
|
snippet,
|
|
color,
|
|
file,
|
|
reference,
|
|
folder,
|
|
enum-member,
|
|
constant,
|
|
struct,
|
|
event,
|
|
operator,
|
|
type-parameter,
|
|
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,
|
|
snippet,
|
|
other(s32),
|
|
}
|
|
|
|
/// An LSP symbol.
|
|
record symbol {
|
|
kind: symbol-kind,
|
|
name: string,
|
|
container-name: option<string>,
|
|
}
|
|
|
|
/// The kind of an LSP symbol.
|
|
variant symbol-kind {
|
|
file,
|
|
module,
|
|
namespace,
|
|
%package,
|
|
class,
|
|
method,
|
|
property,
|
|
field,
|
|
%constructor,
|
|
%enum,
|
|
%interface,
|
|
function,
|
|
variable,
|
|
constant,
|
|
%string,
|
|
number,
|
|
boolean,
|
|
array,
|
|
object,
|
|
key,
|
|
null,
|
|
enum-member,
|
|
struct,
|
|
event,
|
|
operator,
|
|
type-parameter,
|
|
other(s32),
|
|
}
|
|
}
|