diff options
Diffstat (limited to 'graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/publishDiagnostics.h')
-rw-r--r-- | graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/publishDiagnostics.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/publishDiagnostics.h b/graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/publishDiagnostics.h index 8272df10e8..7929e6ba0d 100644 --- a/graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/publishDiagnostics.h +++ b/graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/publishDiagnostics.h @@ -4,25 +4,25 @@ #include "LibLsp/lsp/lsp_diagnostic.h" // Diagnostics -namespace TextDocumentPublishDiagnostics{ - struct Params { +namespace TextDocumentPublishDiagnostics +{ +struct Params +{ // The URI for which diagnostic information is reported. lsDocumentUri uri; // An array of diagnostic information items. std::vector<lsDiagnostic> diagnostics; - MAKE_SWAP_METHOD(Params,uri,diagnostics); - }; - - + MAKE_SWAP_METHOD(Params, uri, diagnostics); }; -MAKE_REFLECT_STRUCT(TextDocumentPublishDiagnostics::Params, - uri, - diagnostics); + +}; // namespace TextDocumentPublishDiagnostics +MAKE_REFLECT_STRUCT(TextDocumentPublishDiagnostics::Params, uri, diagnostics); /** * Diagnostics notifications are sent from the server to the client to * signal results of validation runs. */ -DEFINE_NOTIFICATION_TYPE(Notify_TextDocumentPublishDiagnostics, TextDocumentPublishDiagnostics::Params, "textDocument/publishDiagnostics"); - +DEFINE_NOTIFICATION_TYPE( + Notify_TextDocumentPublishDiagnostics, TextDocumentPublishDiagnostics::Params, "textDocument/publishDiagnostics" +); |