Skip to content

Commit

Permalink
Set bool instead of int (#1323)
Browse files Browse the repository at this point in the history
  • Loading branch information
V-FEXrt authored Jun 28, 2023
1 parent f9ce74c commit 0fc04a0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/lsp-wake/json_converter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ JAST createInitializeResultDefault(const JAST &receivedMessage) {

JAST &capabilities = result.add("capabilities", JSON_OBJECT);
capabilities.add("textDocumentSync", 1);
capabilities.add("definitionProvider", true);
capabilities.add("referencesProvider", true);
capabilities.add("documentHighlightProvider", true);
capabilities.add("hoverProvider", true);
capabilities.add("documentSymbolProvider", true);
capabilities.add("workspaceSymbolProvider", true);
capabilities.add("renameProvider", true);
capabilities.add_bool("definitionProvider", true);
capabilities.add_bool("referencesProvider", true);
capabilities.add_bool("documentHighlightProvider", true);
capabilities.add_bool("hoverProvider", true);
capabilities.add_bool("documentSymbolProvider", true);
capabilities.add_bool("workspaceSymbolProvider", true);
capabilities.add_bool("renameProvider", true);

JAST &serverInfo = result.add("serverInfo", JSON_OBJECT);
serverInfo.add("name", "lsp wake server");
Expand Down

0 comments on commit 0fc04a0

Please sign in to comment.