summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-20 21:54:52 -0500
committerpommicket <pommicket@gmail.com>2022-12-20 21:54:52 -0500
commit7568add9317f2bad5f633e5c587c76b87175899f (patch)
treef758573c4f3fdd6ecb7ebde4fb17314b51ad3b2f /main.c
parent885df8890e537383df71f8f828444d6c5cce0243 (diff)
autocomplete very broken but kinda working
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
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 {