c702bc2cc8
Merge branch 'master' into zig-0.15.0
2025-08-03 18:17:20 +02:00
Ingo Lohmar
28da270834
harmonize selection display
2025-08-03 18:07:58 +02:00
a5af34e13f
feat: select mode widget style "fancy" or "plain" with descriptor arg
...
"fancy" mode is the previous behaviour and the default. "plain" mode makes the
mode widget use the same styling as other status bar widgets.
Select "plain" mode with a descriptor arg in the config. e.g:
`
bottom_bar "mode:plain file log selection diagnostics keybind branch linenumber clock spacer"
`
2025-08-03 17:53:34 +02:00
Ingo Lohmar
d011294c69
use statusbar.hover style for actual hovering
...
The style was used for regular display of the style_label instead, which
gives the current keymap/mode weird prominence, and which means that
actual (mouse) hovering needed to use the unrelated "selection" style.
This commit uses the hover style for just hovering, or if a mini mode is
used (which, to me, sounds at least plausible).
For modal-workflow users, it may be more helpful to actually highlight
the mode (sometimes?), but I have no experience with that.
2025-08-03 17:53:34 +02:00
0c98460ca8
refactor: remove duplicate style definition in modestate widget
2025-08-03 17:28:37 +02:00
b97b8e8fb7
feat: auto hide tabs widget if there are less than {n} tabs
...
This can be configured via an integer argument in the bar widget descriptor, or
via the tab styles configuration file. A value of 0 will effectively disable
auto hide.
2025-08-03 17:08:53 +02:00
dfcc825e4b
feat: auto hide bars with empty widget layouts
2025-08-03 16:17:05 +02:00
ce204d650a
feat: add WidgetList support for overriding layouts
2025-08-03 16:16:15 +02:00
d07ef96f44
Merge branch 'master' into zig-0.15.0
2025-08-02 22:54:26 +02:00
31e1e5091b
fix: crash in tabs widget when buffers are destroyed during tab switch
2025-08-02 22:50:11 +02:00
fbed6c648a
Merge branch 'master' into zig-0.15.0
2025-08-01 23:33:53 +02:00
8f089672da
feat: collapse whitespace to the right of the cursor in smart_insert_line
2025-08-01 23:29:30 +02:00
7f26b13196
feat: collapse trailing whitespace when leaving a line with smart_insert_line*
2025-08-01 16:30:02 +02:00
146a8e8afb
fix: reduce horizontal space waste in command palette
2025-07-31 14:30:16 +02:00
9793bcdd9a
feat: persist syntax_no_render in editor state
2025-07-31 10:11:53 +02:00
abcdea15b5
Merge branch 'master' into zig-0.15.0
2025-07-30 22:12:53 +02:00
666d30df3b
fix: make unindent_cursor work correctly in indent_mode tabs
2025-07-30 20:04:26 +02:00
ed1fe30e74
feat: make indent_size always equal to tab_width in indent_mode tabs
2025-07-30 20:03:12 +02:00
4100585b03
feat: make smart_insert_line and friends follow indent_mode
2025-07-30 19:37:28 +02:00
3abfd6555e
feat: make indent_cursor follow indent_mode and insert tabs
2025-07-30 19:17:52 +02:00
a74c0ecf46
feat: add indent_mode detection (auto mode)
2025-07-30 19:16:27 +02:00
9774b513d4
fix: update buffer file type in set_type
...
This fixes the buffer file type getting lost when switching buffers
if the file type was set with set_type.
2025-07-30 18:50:42 +02:00
196f516724
feat: save and restore indent_mode to editor state
2025-07-30 18:28:04 +02:00
910c69183d
feat: add indent_mode config option
2025-07-30 18:25:48 +02:00
cf6c9455c7
feat: update git status on focus_in events
2025-07-29 17:24:43 +02:00
488efd4605
fix: hint generally usable keybinds on home screen (flow mode)
2025-07-29 10:52:19 +02:00
6f82b4aaf3
feat: refresh branch status on file state change events
2025-07-29 10:29:06 +02:00
bfa851e886
feat: add back single key keybinds on home screen (flow mode)
2025-07-29 10:28:40 +02:00
a734a008e1
fix: refresh git branch status on project switch
2025-07-29 10:12:15 +02:00
73d118dcee
refactor: reduce event matching overhead in filestate widget
2025-07-29 10:11:16 +02:00
50c6e2b033
Merge branch 'writergate' into zig-0.15.0
2025-07-23 14:16:56 +02:00
8c716fcf57
Merge branch 'master' into zig-0.15.0
2025-07-23 14:15:58 +02:00
0ce522828d
build: update thespian for new cbor
2025-07-23 12:25:43 +02:00
54eb30468a
build: update libvaxis
2025-07-23 12:00:22 +02:00
6f20c8a137
build: update dizzy
2025-07-22 13:38:07 +02:00
a1c9c53d5c
build: update fuzzig for zig-0.15.0-dev.1034+bd97b6618
2025-07-21 12:58:46 +02:00
cb62a8108d
Merge branch 'zig-0.15.0' into writergate
2025-07-21 12:55:02 +02:00
5b099b0b10
Merge branch 'master' into zig-0.15.0
2025-07-21 10:22:42 +02:00
aeb734ba64
fix: respond correctly to unsupported requests from language-servers
...
closes #276
2025-07-20 18:43:02 +02:00
1e33d128e7
feat: add Project.unsupported_lsp_request() method
2025-07-20 18:42:24 +02:00
996ec70e42
feat: add LSP client support for error responses to requests
2025-07-20 18:41:12 +02:00
5d256413da
refactor: dynamically allocate LSP client handles
2025-07-19 00:05:41 +02:00
efdad96054
refactor: improve create pattern to avoid leaks
2025-07-19 00:03:30 +02:00
de68c1a5d4
fix: remove run_async from flow mode add_cursor_all_matches binding
...
The extra run_async prevents the keybind hint from matching the
add_cursor_all_matches command. Not sure why it was bound to run_async
anyway so I'll just remove it.
2025-07-18 10:46:02 +02:00
b94fbebb9f
Merge branch 'zig-0.15.0' into writergate
2025-07-17 16:30:06 +02:00
88fef7274b
Merge branch 'master' into zig-0.15.0
2025-07-17 16:29:36 +02:00
7177da5a89
refactor: reduce default animation_max_lag to 50ms
2025-07-17 15:31:28 +02:00
Loris Cro
05d8fe3708
update to zig 0.15.0-dev.1048+f43f89a70
2025-07-17 11:59:24 +02:00
Loris Cro
82c431c952
update to zig 0.15.0-dev.1048+f43f89a70
2025-07-17 11:57:58 +02:00
b60cd8907e
Merge branch 'zig-0.15.0' into writergate
2025-07-16 20:42:04 +02:00