mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 23:25:07 +00:00
initialize: Add offsetEncoding to InitializeResult
This commit is contained in:
parent
8422f0a522
commit
c7596e3712
@ -226,9 +226,10 @@ struct InitializeResult {
|
|||||||
const char *name = "ccls";
|
const char *name = "ccls";
|
||||||
const char *version = CCLS_VERSION;
|
const char *version = CCLS_VERSION;
|
||||||
} serverInfo;
|
} serverInfo;
|
||||||
|
const char *offsetEncoding = "utf-32";
|
||||||
};
|
};
|
||||||
REFLECT_STRUCT(InitializeResult::ServerInfo, name, version);
|
REFLECT_STRUCT(InitializeResult::ServerInfo, name, version);
|
||||||
REFLECT_STRUCT(InitializeResult, capabilities, serverInfo);
|
REFLECT_STRUCT(InitializeResult, capabilities, serverInfo, offsetEncoding);
|
||||||
|
|
||||||
struct FileSystemWatcher {
|
struct FileSystemWatcher {
|
||||||
std::string globPattern = "**/*";
|
std::string globPattern = "**/*";
|
||||||
|
Loading…
Reference in New Issue
Block a user