diff options
author | pommicket <pommicket@gmail.com> | 2022-12-23 13:00:51 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-23 13:00:51 -0500 |
commit | e4774c14963bf51840bbf940c1181fe7fc7c3046 (patch) | |
tree | 5d784e37a2d3f18e05e42c795ba7220262a33231 /autocomplete.c | |
parent | bc21923ba75a46693f6470f9bff903e0df46ac15 (diff) |
trigger characters
Diffstat (limited to 'autocomplete.c')
-rw-r--r-- | autocomplete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autocomplete.c b/autocomplete.c index e0de9fd..a71e45a 100644 --- a/autocomplete.c +++ b/autocomplete.c @@ -171,7 +171,7 @@ static void autocomplete_process_lsp_response(Ted *ted, const LSPResponse *respo // open autocomplete, or just do the completion if there's only one suggestion static void autocomplete_open(Ted *ted) { Autocomplete *ac = &ted->autocomplete; - + if (ac->open) return; if (!ted->active_buffer) return; TextBuffer *buffer = ted->active_buffer; if (!buffer->filename) return; |