summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h')
-rw-r--r--Build/source/utils/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/Build/source/utils/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h b/Build/source/utils/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h
index f10080ea216..c07cc8149d6 100644
--- a/Build/source/utils/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h
+++ b/Build/source/utils/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h
@@ -6,10 +6,10 @@
#include "LibLsp/lsp/workspace/workspaceFolders.h"
struct ClientInfo {
- std::string name;
- boost::optional<std::string> version;
-
- MAKE_SWAP_METHOD(ClientInfo,name,version);
+ std::string name;
+ boost::optional<std::string> version;
+
+ MAKE_SWAP_METHOD(ClientInfo,name,version);
};
MAKE_REFLECT_STRUCT(ClientInfo,name,version);
@@ -19,7 +19,7 @@ struct lsInitializeParams {
// If the parent process is not alive then the server should exit (see exit
// notification) its process.
boost::optional<int> processId;
-
+
/**
* Information about the client
*
@@ -37,7 +37,7 @@ struct lsInitializeParams {
* @since 3.16.0
*/
boost::optional<std::string> locale;
-
+
// The rootPath of the workspace. Is null
// if no folder is open.
//
@@ -64,13 +64,13 @@ struct lsInitializeParams {
boost::optional< std::string >clientName;
-
+
enum class lsTrace {
// NOTE: serialized as a string, one of 'off' | 'messages' | 'verbose';
Off, // off
Messages, // messages
Verbose // verbose
-
+
};
// The initial trace setting. If omitted trace is disabled ('off').
@@ -117,9 +117,9 @@ struct lsInitializeError {
bool retry;
void swap(lsInitializeError& arg) noexcept
{
- auto tem = retry;
- retry = arg.retry;
- arg.retry = tem;
+ auto tem = retry;
+ retry = arg.retry;
+ arg.retry = tem;
}
};
MAKE_REFLECT_STRUCT(lsInitializeError, retry);