summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-24 13:59:43 -0500
committerpommicket <pommicket@gmail.com>2022-12-24 13:59:43 -0500
commit1793fa40528295306d1d790074fdd8f382e8bef3 (patch)
tree2acc72e0ff15c0c66e478ea88bce4039f89d0b0a /main.c
parenta68d59e180b8131197c6387a764a78403b06e069 (diff)
testing LSPs for other languages
Diffstat (limited to 'main.c')
-rw-r--r--main.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/main.c b/main.c
index 422b528..fb2265a 100644
--- a/main.c
+++ b/main.c
@@ -1,10 +1,21 @@
/*
@TODO:
+- in texlab, when typing "\something" why does the autocomplete menu close on 's'?
+ - is the weird documentation really what we're getting?
+- in jdtls, opening an empty java file gives an exception. is this my fault?
+- what's wrong with pylsp (try "f.w") in generate.py
+- what's wrong with gopls?
- make sure "save as" works
-- workspaceFolders support (so we don't need to start up multiple instances of rust-analyzer)
- more LSP stuff:
+ - hover
- go to definition using LSP
- find usages
+- 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?
+- 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)
- rename buffer->filename to buffer->path
- make buffer->path NULL for untitled buffers & fix resulting mess
- run everything through valgrind ideally with leak checking
@@ -634,7 +645,7 @@ int main(int argc, char **argv) {
| (u32)shift_down << KEY_MODIFIER_SHIFT_BIT
| (u32)alt_down << KEY_MODIFIER_ALT_BIT;
ted->key_modifier = key_modifier;
-
+
while (SDL_PollEvent(&event)) {
TextBuffer *buffer = ted->active_buffer;