summaryrefslogtreecommitdiff
path: root/ide-autocomplete.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2024-12-08 22:57:09 -0500
committerpommicket <pommicket@gmail.com>2024-12-08 22:57:09 -0500
commit146c517517f9a17d6ed9329cdbe84d89155a777e (patch)
tree7d3b7bc412a79f2cd133d14f318832212a8138fe /ide-autocomplete.c
parent1687c0ae903d4d48abd5842520ec9fa7da3036d9 (diff)
Fix new LSP bug introduced by 2.7.5HEAD2.7.6trunk
Diffstat (limited to 'ide-autocomplete.c')
-rw-r--r--ide-autocomplete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-autocomplete.c b/ide-autocomplete.c
index 558b388..3ff138e 100644
--- a/ide-autocomplete.c
+++ b/ide-autocomplete.c
@@ -365,7 +365,7 @@ void autocomplete_process_lsp_response(Ted *ted, const LSPResponse *response) {
assert(0);
return;
}
- if (!lsp_response_is_error(response)) {
+ if (lsp_response_is_error(response)) {
autocomplete_close(ted);
ted_flash_error_cursor(ted);
return;