From 7568add9317f2bad5f633e5c587c76b87175899f Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 20 Dec 2022 21:54:52 -0500 Subject: autocomplete very broken but kinda working --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 6176bf5..aed6f53 100644 --- a/main.c +++ b/main.c @@ -9,6 +9,7 @@ - rust-analyzer should wait until cargo metadata/check is done before sending initialize response FUTURE FEATURES: - robust find (results shouldn't move around when you type things) +- multiple files with command line arguments - configurable max buffer size + max view-only buffer size - :set-build-command, don't let ../Cargo.toml override ./Makefile - add numlock as a key modifier @@ -1009,7 +1010,7 @@ int main(int argc, char **argv) { if (ted->nodes_used[0]) { float y1 = padding; node_frame(ted, node, rect4(x1, y1, x2, y)); - if (ted->autocomplete) { + if (ted->autocomplete.open) { autocomplete_frame(ted); } } else { -- cgit v1.2.3