diff options
Diffstat (limited to 'ide-autocomplete.c')
-rw-r--r-- | ide-autocomplete.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ide-autocomplete.c b/ide-autocomplete.c index f2382cb..6d5716b 100644 --- a/ide-autocomplete.c +++ b/ide-autocomplete.c @@ -340,6 +340,7 @@ void autocomplete_process_lsp_response(Ted *ted, const LSPResponse *response) { return; } + autocomplete_clear_completions(ac); arr_set_len(ac->completions, ncompletions); for (size_t i = 0; i < ncompletions; ++i) { const LSPCompletionItem *lsp_completion = &completion->items[i]; |