summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-27 00:34:38 -0500
committerpommicket <pommicket@gmail.com>2022-12-27 00:34:38 -0500
commit53451f331667180e4b30c1ac0bf33bb48beb37f0 (patch)
tree4bb3c933441ecde2e899f4486b7f32d84f5cbb22 /main.c
parent85ee81b8ae972d17f0e3dc78657077924c047ada (diff)
better workspaceFolders idea ("withhold judgement")
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.c b/main.c
index d514132..e82d539 100644
--- a/main.c
+++ b/main.c
@@ -1,5 +1,10 @@
/*
@TODO:
+- LSP IDs, and make buffer send (didClose +) didOpen if its ID isn't maching up
+ (this should fix current "unexpected didChange" multi-root rust-analyzer problem and
+ also fix "save as")
+- lsp_document_id / lsp_document_path thread-safety
+- double check thread safety of other things
- ignore telemetry/event
- https://github.com/typescript-language-server/typescript-language-server
- NOTE: This supports javascript.
@@ -17,6 +22,8 @@
- workspaceFolders support (so we don't need to start up multiple instances of rust-analyzer)
- document lsp.h and lsp.c.
- maximum queue size for requests/responses just in case?
+ - idea: configurable timeout
+ - what to do if initialize request takes a long time?
- delete old sent requests? but make sure requests that just take a long time are okay.
(if the server never sends a response)
- TESTING: make rust-analyzer-slow (waits 10s before sending response)