summaryrefslogtreecommitdiff
path: root/lsp.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-30 18:59:39 -0500
committerpommicket <pommicket@gmail.com>2022-12-30 18:59:39 -0500
commit1bd19da6910c85029c34c6d8cf65739a9e0a2127 (patch)
tree23896f33125315499f51dd1ac4a49632e2afe11f /lsp.c
parent72624969e99d284984614a33cabb4ed9fea31a0a (diff)
start parse rename response
Diffstat (limited to 'lsp.c')
-rw-r--r--lsp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lsp.c b/lsp.c
index 18b150e..253d465 100644
--- a/lsp.c
+++ b/lsp.c
@@ -100,6 +100,9 @@ static void lsp_response_free(LSPResponse *r) {
case LSP_REQUEST_WORKSPACE_SYMBOLS:
arr_free(r->data.workspace_symbols.symbols);
break;
+ case LSP_REQUEST_RENAME:
+ arr_free(r->data.rename.changes);
+ break;
default:
break;
}