Browse Source

initialize: Add offsetEncoding to InitializeResult

offsetEncoding
Fangrui Song 3 years ago
parent
commit
c7596e3712
  1. 3
      src/messages/initialize.cc

3
src/messages/initialize.cc

@ -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…
Cancel
Save