diff options
author | pommicket <pommicket@gmail.com> | 2022-12-30 12:42:32 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-30 12:42:32 -0500 |
commit | 66367583a3b57e37e9198838222f45d99e77d8ae (patch) | |
tree | 74764837b87f3d25e726265dbf3d6ae7cede3b7f /lsp-parse.c | |
parent | 65cbe00bc124bdc1bd83bcd42ad5fbed521412b2 (diff) |
definitions menu, but it's acting weird
Diffstat (limited to 'lsp-parse.c')
-rw-r--r-- | lsp-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp-parse.c b/lsp-parse.c index c98ae85..f720d12 100644 --- a/lsp-parse.c +++ b/lsp-parse.c @@ -569,7 +569,7 @@ static bool parse_symbol_information(LSP *lsp, const JSON *json, JSONValue value static bool parse_workspace_symbols(LSP *lsp, const JSON *json, LSPResponse *response) { LSPResponseWorkspaceSymbols *syms = &response->data.workspace_symbols; - JSONArray result = json_force_array(json_root(json)); + JSONArray result = json_force_array(json_get(json, "result")); arr_set_len(syms->symbols, result.len); for (size_t i = 0; i < result.len; ++i) { LSPSymbolInformation *info = &syms->symbols[i]; |