summaryrefslogtreecommitdiff
path: root/ide-autocomplete.c
diff options
context:
space:
mode:
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 47b238f..e5dd848 100644
--- a/ide-autocomplete.c
+++ b/ide-autocomplete.c
@@ -102,7 +102,7 @@ static bool autocomplete_using_lsp(Ted *ted) {
static void autocomplete_no_suggestions(Ted *ted) {
Autocomplete *ac = &ted->autocomplete;
if (ac->trigger == TRIGGER_INVOKED)
- ted->cursor_error_time = time_get_seconds();
+ ted_flash_error_cursor(ted);
autocomplete_close(ted);
}