vtables, protocol
This commit is contained in:
@@ -106,7 +106,7 @@ pub fn initializeResultJson(allocator: std.mem.Allocator) ![]const u8 {
|
||||
"\"completionProvider\":{{\"triggerCharacters\":[\".\"]}}," ++
|
||||
"\"signatureHelpProvider\":{{\"triggerCharacters\":[\"(\",\",\"]}}," ++
|
||||
"\"semanticTokensProvider\":{{\"legend\":{{" ++
|
||||
"\"tokenTypes\":[\"namespace\",\"type\",\"enum\",\"struct\",\"parameter\",\"variable\",\"enumMember\",\"function\",\"keyword\",\"number\",\"string\",\"operator\"]," ++
|
||||
"\"tokenTypes\":[\"namespace\",\"type\",\"enum\",\"struct\",\"parameter\",\"variable\",\"enumMember\",\"function\",\"keyword\",\"number\",\"string\",\"operator\",\"interface\"]," ++
|
||||
"\"tokenModifiers\":[\"declaration\",\"readonly\"]" ++
|
||||
"}},\"full\":true}}," ++
|
||||
"\"inlayHintProvider\":true}}}}",
|
||||
@@ -321,6 +321,7 @@ pub const SemanticTokenType = struct {
|
||||
pub const number: u32 = 9;
|
||||
pub const string_: u32 = 10;
|
||||
pub const operator_: u32 = 11;
|
||||
pub const interface: u32 = 12;
|
||||
};
|
||||
|
||||
/// Build a SemanticTokens JSON response.
|
||||
|
||||
Reference in New Issue
Block a user