mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 15:15: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 *version = CCLS_VERSION;
|
||||
} serverInfo;
|
||||
const char *offsetEncoding = "utf-32";
|
||||
};
|
||||
REFLECT_STRUCT(InitializeResult::ServerInfo, name, version);
|
||||
REFLECT_STRUCT(InitializeResult, capabilities, serverInfo);
|
||||
REFLECT_STRUCT(InitializeResult, capabilities, serverInfo, offsetEncoding);
|
||||
|
||||
struct FileSystemWatcher {
|
||||
std::string globPattern = "**/*";
|
||||
|
Loading…
Reference in New Issue
Block a user