From 9a5cad47fe6a8b84892f62e110ca887c95df5eff Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 26 Dec 2022 20:41:43 -0500 Subject: workspace/workspaceFolders request --- main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main.c') 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; -- cgit v1.2.3