summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-20 15:43:24 -0500
committerpommicket <pommicket@gmail.com>2022-12-20 15:43:24 -0500
commitd3375f02cfed99ed40c28631e62654af23817729 (patch)
tree575072b13497c3e2f6ba73f3d9feb90214ad6c70 /ted.c
parent9dc4d70511862004661cd5b0c02adc500c35f42e (diff)
start completion requests
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ted.c b/ted.c
index ed5cb00..2ce39fe 100644
--- a/ted.c
+++ b/ted.c
@@ -139,7 +139,7 @@ static void ted_load_fonts(Ted *ted) {
void ted_switch_to_buffer(Ted *ted, TextBuffer *buffer) {
TextBuffer *search_buffer = find_search_buffer(ted);
ted->active_buffer = buffer;
- ted->autocomplete = false;
+ autocomplete_close(ted);
if (buffer != search_buffer) {
if (ted->find)
find_update(ted, true); // make sure find results are for this file