Commit graph

338 commits

Author SHA1 Message Date
6ece4c14b5 fix: language server did_change diff calculation 2024-05-08 23:56:00 +02:00
5ca96aa328 fix: process drag release events in scrollbar_v 2024-04-25 18:50:06 +02:00
87ffe80c91 docs: add -Doptimize=ReleaseFast to macos build instructions 2024-04-25 18:49:34 +02:00
3e203c22f2 build: update thespian to fix another pid.call() race 2024-04-24 17:46:26 +02:00
c675d0b34c docs: mention HOMEBREW_PREFIX in macos build instructions
closes #6
2024-04-24 14:29:54 +02:00
c2b734a8f6 fix: an early panic on startup if ~/.config does not exist 2024-04-23 21:28:29 +02:00
10e1f04742 docs: update features list in README.md and add a section on running flow 2024-04-23 21:27:07 +02:00
dadf20ce34 fix: consider empty unsaved new files as clean 2024-04-22 22:42:07 +02:00
2d3633fc3c fix: immediatly process additional messages in single recv 2024-04-21 20:43:50 +02:00
da150fdf38 build: update thespian 2024-04-21 00:29:12 +02:00
c79c684969 feat: minor improvements to LSP error handling 2024-04-21 00:02:24 +02:00
ef57339258 feat: add support for language server window/showMessage notifications 2024-04-20 23:47:34 +02:00
f91ae313d1 build: update thespian 2024-04-20 23:28:51 +02:00
d60ebdf723 build: update to zig 0.12.0 2024-04-20 23:26:33 +02:00
e69bd6166a feat: render language server diagnostics and add next/previous diagnostic commands
Bound to Alt-n and Alt-p
2024-04-20 00:04:46 +02:00
b541fd42de fix: don't prevent same file navigation if buffer is dirty 2024-04-19 22:11:04 +02:00
0523350596 feat: add support for undercurl styles 2024-04-19 22:10:27 +02:00
b197b1235b fix: add timeout to synchronous language server calls
Otherwise if language server does not respond then we effectively hang.
2024-04-19 22:06:15 +02:00
5e8301e52e build: update dependencies 2024-04-19 22:05:57 +02:00
e41c2d34f7 feat: render diagnostics (part 1) 2024-04-17 23:26:19 +02:00
33dd4486eb fix: don't hang project_manager if language server exits early 2024-04-17 21:13:20 +02:00
939a70b249 feat: add file_stack and return to previous file on file close 2024-04-17 19:02:32 +02:00
e3b8d513ea fix: log project_manager errors 2024-04-17 18:34:44 +02:00
dfdbb47367 feat: add close_file_without_saving command and keybinding (C-S-w) 2024-04-17 18:08:11 +02:00
438d64268e feat: add pasting support to open recent and find modes 2024-04-17 18:03:09 +02:00
b6127b06d4 feat: render control codes in whitespace styling if show_whitespace is on 2024-04-17 17:52:03 +02:00
cc607089df feat: process textDocument/publishDiagnostics notifications from language server 2024-04-16 23:22:47 +02:00
ef61903334 build: update to zig 0.12.0-dev.3659+1e5075f81 2024-04-16 23:22:13 +02:00
07571ef363 refactor: load persisted projects before file system scan
This should improve usability for very large projects.
2024-04-15 23:07:03 +02:00
3eba052c15 fix: shutdown race if project_manager does not exit faster than tui 2024-04-15 21:29:27 +02:00
9eb6dd3be4 fix: send sigterm to languages servers on exit
Not all language servers willingly exit if we just close stdin. Eventually
we will follow the protocol's shutdown process, but for now we just send a
sigterm.
2024-04-15 21:15:26 +02:00
55e99fe958 refactor: replace ArrayList with plain alloc for Button.label 2024-04-15 19:53:11 +02:00
49d6ee94fc refactor: simplify and clean-up navgate command
This should also prevent get_mru_position and location_jump from stomping
on each other.
2024-04-15 19:50:11 +02:00
0f5f41751e feat: add fuzzy matching to recent files list with fuzzig
Many thanks to @fjebaker
2024-04-15 18:59:23 +02:00
5375e1449e feat: send didChange, didSave and didClose events to language server 2024-04-13 02:50:02 +02:00
1288021682 feat: save and restore file MRU state per project 2024-04-11 18:36:54 +02:00
1d9155864d fix: prevent mini/overlay modes from stomping each other
Also, allow cancelling modes by clicking the flow button.
2024-04-11 18:35:33 +02:00
137947355d feat: move session restore file to cache directory 2024-04-11 18:33:49 +02:00
2416251fc3 feat: generate hover events during drag operations 2024-04-11 18:32:57 +02:00
3a2d91de7b docs: add gutter_mode_next command to docs 2024-04-10 22:14:48 +02:00
9aea1f54f5 feat: allow runtime changing of the gutter mode 2024-04-10 22:12:19 +02:00
f61701150d refactor: make filestate a button 2024-04-10 20:34:08 +02:00
30d1ac9e8c feat: make linenumstate a button that enters goto mode when clicked 2024-04-10 19:28:58 +02:00
28ab5643d9 fix: use theme background style for home screen 2024-04-10 18:40:33 +02:00
0053b80d81 refactor: improve button widget api 2024-04-10 18:39:47 +02:00
53554be4b0 refactor: drop dead send warnings in tui log 2024-04-10 18:37:42 +02:00
9caf1d8947 fix: build on macos 2024-04-10 18:36:51 +02:00
9c064eb20c feat: add jump_mode key bindings to vim modes 2024-04-09 23:09:57 +02:00
31bef39934 feat: add goto_definition key binding to vim modes 2024-04-09 23:05:34 +02:00
46eb88aaa4 feat: add open recent mode key binding to vim modes 2024-04-09 23:03:45 +02:00