summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-26 20:41:43 -0500
committerpommicket <pommicket@gmail.com>2022-12-26 20:41:43 -0500
commit9a5cad47fe6a8b84892f62e110ca887c95df5eff (patch)
tree48f5bcdf4d36d11716d233e98f52d1a9cb583143 /main.c
parent44d607df5d5a9a1c892fe56c4874fbef7f209464 (diff)
workspace/workspaceFolders request
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 7fdb6de..9339b95 100644
--- a/main.c
+++ b/main.c
@@ -1,9 +1,9 @@
/*
@TODO:
-- what's wrong with gopls?
- ignore telemetry/event
- handle window/showMessageRequest
- make sure "save as" works
+- what's wrong with gopls?
- more LSP stuff:
- hover
- go to definition using LSP
@@ -17,6 +17,8 @@
- run everything through valgrind ideally with leak checking
- grep -i -n TODO *.[ch]
--- LSP MERGE ---
+- improve structure of ted source code to make LSP completions better
+ (make every c file a valid translation unit)
- rename buffer->filename to buffer->path
- make buffer->path NULL for untitled buffers & fix resulting mess
- rust-analyzer bug reports:
@@ -1083,6 +1085,7 @@ int main(int argc, char **argv) {
SDL_SetWindowTitle(window, ted->window_title);
SDL_SetCursor(ted->cursor);
+
// annoyingly, SDL_GL_SwapWindow seems to be a busy loop on my laptop for some reason...
// enforce a framerate of 60. this isn't ideal but SDL_GetDisplayMode is *extremely slow* (250ms), so we don't really have a choice.
int refresh_rate = 60;