Commit graph

477 commits

Author SHA1 Message Date
c32e2005b9 fix: hover and select menu styles on home screen 2024-05-18 17:02:45 +02:00
855c11292e fix: improve rendering of home screen 2024-05-18 16:49:45 +02:00
ced45d50e4 fix: use blocking tty io with libvaxis
This resolves WouldBlock issues with libvaxis and tty issues with macos.
2024-05-18 01:47:03 +02:00
6225944a7e fix: add missing renderer deinit() on exit 2024-05-17 21:18:54 +02:00
94e045ffe7 feat: add to_upper and to_lower commands on Alt-u and Alt-l 2024-05-12 00:10:11 +02:00
1cd3cb17ce feat: add libvaxis renderer 2024-05-10 12:44:14 +02:00
b15fa47f30 refactor: add renderer abstraction layer 2024-05-09 11:48:33 +02:00
9ff63fbed5 fix: avoid desync of tree-sitter syntax 2024-05-09 00:35:31 +02:00
5ca96aa328 fix: process drag release events in scrollbar_v 2024-04-25 18:50:06 +02:00
c2b734a8f6 fix: an early panic on startup if ~/.config does not exist 2024-04-23 21:28:29 +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
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
e41c2d34f7 feat: render diagnostics (part 1) 2024-04-17 23:26:19 +02:00
939a70b249 feat: add file_stack and return to previous file on file close 2024-04-17 19:02:32 +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
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
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
2416251fc3 feat: generate hover events during drag operations 2024-04-11 18:32:57 +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
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
053bf19110 feat: add move_left_vim and move_right_vim commands
closes #3
2024-04-09 23:01:16 +02:00
b8261f924e fix: stop selection from running off the bottom of the recent files list 2024-04-09 22:41:26 +02:00
48fc8a968c fix: store jump location source before navigating to another file 2024-04-09 22:32:46 +02:00
390a56714a fix: incorrect offset on goto mode cancel 2024-04-09 22:27:33 +02:00
b3f2a8465d feat: exit open recent mode on Ctrl-C or Ctrl-G 2024-04-09 22:26:53 +02:00
cbf87ec7c0 feat: shorten long paths in recent file list 2024-04-09 22:22:06 +02:00
3e97f6627c feat: don't center screen when navigation destination is on-screen 2024-04-09 21:45:54 +02:00
31561242db feat: update mru list when navigating and store last file position 2024-04-09 21:44:40 +02:00
4b2c033c5d feat: add mouse bindings for jump_back/forward and goto_definition 2024-04-09 18:25:41 +02:00
695b0dbff5 feat: add cross file location history support
Also, this improves the location history storage to be simpler and provide much
more intuitive navigation.
2024-04-09 18:15:53 +02:00
2fafceab83 fix: crash while rendering chunks longer than 4096 bytes (long lines)
Proof that I was a Zig noob not too long ago. The defer of course runs
immediately.
2024-04-09 18:12:22 +02:00