diff options
author | pommicket <pommicket@gmail.com> | 2022-12-26 20:41:43 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-26 20:41:43 -0500 |
commit | 9a5cad47fe6a8b84892f62e110ca887c95df5eff (patch) | |
tree | 48f5bcdf4d36d11716d233e98f52d1a9cb583143 /main.c | |
parent | 44d607df5d5a9a1c892fe56c4874fbef7f209464 (diff) |
workspace/workspaceFolders request
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |