ce87dcfa2b
refactor: pass relative click position to button click handlers
...
This a big refactor just to clean-up type definitions used by Button and Menu.
The goals is to pass the click position as a cursor object.
2025-10-09 19:11:25 +02:00
35ccf7f1df
feat: optionally customize tab clean indicator
2025-10-09 17:11:28 +02:00
52e29b7825
feat: add optional tab padding
2025-10-09 17:11:07 +02:00
94adc72283
feat: render close icon in tabs on hover
2025-10-09 16:50:29 +02:00
e2c0325a7a
fix: incorrect tab width when file type icons are turned on
2025-10-09 15:23:37 +02:00
78b29c321e
fix: don't render color for black or white file type icons in tabs
2025-10-09 14:33:09 +02:00
455565ee26
feat: add file type icons to tabs
...
Optionally disable icons in tabs with `file_type_icon = false` in `status.tabs.style.config`.
2025-10-09 14:01:49 +02:00
632654c2a4
fix: windows build
2025-10-08 21:12:43 +02:00
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting
2025-10-08 14:18:03 +02:00
5d760f1d84
fix: send real flow version to LSP
2025-10-08 14:17:51 +02:00
3bb43c79c3
docs: drop 'v' from version on home screen
2025-10-08 14:17:44 +02:00
4f2acdaf44
docs: fix a typo in help.md
...
and reformat it a little
2025-10-08 11:12:39 +02:00
5cfe2f6be4
feat: add some braile spinners to unicode.zig
...
Might be useful somewhere...
2025-10-07 20:56:55 +02:00
e5c89ea754
docs: add some more problematic glyphs to font test text
2025-10-07 20:55:19 +02:00
78cc4b2d24
fix(wsl): save without copying file mode if statFile fails
2025-10-07 10:25:55 +02:00
cd54b5a954
fix(wsl): assume kind file if statFile fails
2025-10-07 10:25:24 +02:00
f71e4c7b04
fix(wsl): use zero mtime if statFile fails
2025-10-07 10:18:22 +02:00
983c4844ba
build: adjust release scripts to not use zig wrapper
2025-10-06 22:35:53 +02:00
22e36481d6
fix: don't leak buffer names when deleting buffers
...
This commit also refactors the Buffer.Manager to make similar issues
easier to avoid in future.
2025-10-06 22:28:52 +02:00
Igor Támara
f201728457
hx: Fix closing other buffers and improve user messages
2025-10-06 21:16:33 +02:00
Igor Támara
e41ff1b7a5
Add flags and options in help and paraphrased minilog and log usage
2025-10-06 21:16:33 +02:00
Igor Támara
d3e601e774
Show feedback to user when trying to quit with dirty buffers
2025-10-06 21:16:33 +02:00
Igor Támara
552417091d
feat: add helix mode close other buffers and reload all
...
* x and x! have expected behaviour in Helix mode
2025-10-06 21:16:33 +02:00
6196c5fdd8
build: remove zig wrapper and extra zig version file
...
These are obsolete. Please just use `anyzig`. You can get it at
https://github.com/marler8997/anyzig
2025-10-06 12:08:23 +02:00
2bd5d913a8
fix: move flow mode select mode keybind to ctrl+shift+a
...
shift+space is too easy to trigger accidentally.
2025-10-05 16:49:51 +02:00
9ea32d46e2
feat: preparations for additionalTextEdits support in completions
2025-10-02 22:51:01 +02:00
8476f613c2
fix: check selection before insert
2025-10-02 22:49:02 +02:00
7963e20058
feat: add tab keybinding to active completion item
2025-10-02 20:24:26 +02:00
6301c078c8
fix: move file type guessing out of project_manager thread
...
Performing hundreds of thousands of file type guessing operations can
block the project manager for seconds leading to slow exits. With this
change we move the file type guessing into the tree walker thread leaving
the project manager to respond to other requests including shutdown messages.
2025-10-02 17:43:12 +02:00
e7dcb2947b
refactor: add handler callbacks to walk_tree
2025-10-02 17:42:24 +02:00
fa397b1642
fix: add ctrl+space keybind for completion and move SELECT mode to shift+space
2025-10-02 16:37:38 +02:00
5362706b26
fix: translate columns to byte offsets when requesting completions
2025-10-02 16:28:23 +02:00
6ec8aae94a
fix: translate byte offsets to columns when applying completions
2025-10-02 16:27:47 +02:00
6ae176a8ac
refactor: add selection_pos_to_width and get_replace_selection functions
2025-10-02 16:27:16 +02:00
390fbd51ff
refactor: simplify code by using Selection.from_pos
2025-10-02 16:25:48 +02:00
10bd270d89
feat: add Match.from_pos function
2025-10-02 16:23:21 +02:00
65eb6bc7ad
feat: add Selection.from_pos function
2025-10-02 16:22:55 +02:00
81a1c88847
fix: force refresh on add_completion_done events for slow language servers
2025-10-02 15:00:33 +02:00
778907c513
fix: ignore empty replacement selections for completion
2025-10-02 15:00:00 +02:00
ebb7fb399e
fix: support TextEdit responses to completion requests
...
In addition to InsertReplaceEdit responses.
This improves completion with OmniSharp and possibly others.
2025-10-02 14:58:32 +02:00
cc9b002778
feat: add freebsd to binary release builds
2025-10-02 14:04:35 +02:00
b7b0501715
fix: support -Dtarget=[target] for release builds
...
Specifying a target will still produce a baseline cpu release build.
2025-10-02 10:29:47 +02:00
31c03060cf
build: add -Dall_targets build option to build all known good release targets
...
Now just plain `--release` will build the release just for the native cpu arch and os.
Adding `-Dall_targets` will build all targets in the known good list.
closes #311
2025-10-02 09:55:35 +02:00
b1e5b2f80f
fix: never set completion selection to an empty range
2025-10-01 22:02:21 +02:00
b02f096fef
feat: set the initial completion query based on the cursor position
2025-10-01 21:55:12 +02:00
74b011cf7e
feat: add support for setting the initial query value in palettes
2025-10-01 21:54:46 +02:00
42b7ae46a0
fix: open competion palette after all completions are received
2025-10-01 21:29:05 +02:00
03c82999b8
feat: select replacement range during completion
2025-10-01 21:28:32 +02:00
3901d0cce5
feat: add support for state values in palettes
2025-10-01 20:50:32 +02:00
2783120aef
fix: update terminal style when switching color scheme
2025-10-01 20:20:34 +02:00