summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-27 00:16:35 -0500
committerpommicket <pommicket@gmail.com>2022-12-27 00:16:35 -0500
commit85ee81b8ae972d17f0e3dc78657077924c047ada (patch)
treec786708c0e3b4d0340e712d01eb0160145e5af38 /main.c
parent9a5cad47fe6a8b84892f62e110ca887c95df5eff (diff)
added workspaceFolders support
but broke non-workspaceFolders support
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 9339b95..d514132 100644
--- a/main.c
+++ b/main.c
@@ -1,6 +1,11 @@
/*
@TODO:
- ignore telemetry/event
+- https://github.com/typescript-language-server/typescript-language-server
+ - NOTE: This supports javascript.
+ - We should also add a typescript language (but just use javascript syntax highlighting for now)
+ - (don't want to add .ts as a Javascript extension since that won't be forwards-compatible
+ if we ever do add real typescript highlighting support)
- handle window/showMessageRequest
- make sure "save as" works
- what's wrong with gopls?
@@ -8,6 +13,7 @@
- hover
- go to definition using LSP
- find usages
+ - that thing where it shows you the current function argument
- 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?
@@ -39,6 +45,7 @@ FUTURE FEATURES:
- keyboard macros
- ctrl+9/0 to inc/dec number would be useful here
- with macros we can really test performance of buffer_insert_text_at_pos, etc. (which should ideally be fast)
+- real typescript highlighting (?)
*/
#include "base.h"