feat(lsp): add initial support for LSP completion requests
This commit is contained in:
parent
fa59dc1ff8
commit
830000579b
6 changed files with 65 additions and 3 deletions
28
src/LSP.zig
28
src/LSP.zig
|
@ -420,3 +420,31 @@ const Headers = struct {
|
|||
}
|
||||
}
|
||||
};
|
||||
|
||||
pub const CompletionItemKind = enum(u8) {
|
||||
Text = 1,
|
||||
Method = 2,
|
||||
Function = 3,
|
||||
Constructor = 4,
|
||||
Field = 5,
|
||||
Variable = 6,
|
||||
Class = 7,
|
||||
Interface = 8,
|
||||
Module = 9,
|
||||
Property = 10,
|
||||
Unit = 11,
|
||||
Value = 12,
|
||||
Enum = 13,
|
||||
Keyword = 14,
|
||||
Snippet = 15,
|
||||
Color = 16,
|
||||
File = 17,
|
||||
Reference = 18,
|
||||
Folder = 19,
|
||||
EnumMember = 20,
|
||||
Constant = 21,
|
||||
Struct = 22,
|
||||
Event = 23,
|
||||
Operator = 24,
|
||||
TypeParameter = 25,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue