summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-09 23:01:55 -0400
committerpommicket <pommicket@gmail.com>2023-09-09 23:02:10 -0400
commit7185635a553d44b537d6fd1264ceedf421e114ef (patch)
tree826a9f66fb47947b0288eea92d153c3b165a4859 /main.c
parentc9c4b74376017b52a024705622c42d7d35c5bda0 (diff)
deal with LSP servers that don't support incremental sync
this was the problem with godot
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index d1569f7..5deabac 100644
--- a/main.c
+++ b/main.c
@@ -1,6 +1,9 @@
/*
TODO:
-- figure out what's wrong with godot language server
+- figure out how to deal with godot language server being so slow
+ one comparatively solution is to wait x seconds before sending a batch of requests in the communication thread
+ (this gives us time to cancel the irrelevant requests before they get sent to the server,
+ and we can remove stale full-sync didChange requests)
FUTURE FEATURES:
- autodetect indentation (tabs vs spaces)
- custom file/build command associations