Commit graph

1062 commits

Author SHA1 Message Date
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
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting 2025-10-08 14:18:03 +02:00
3bb43c79c3
docs: drop 'v' from version on home screen 2025-10-08 14:17:44 +02:00
e5c89ea754
docs: add some more problematic glyphs to font test text 2025-10-07 20:55:19 +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
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
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
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
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
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
80fc3b7bc5
refactor: explicitly pass theme to tui.set_terminal_style 2025-10-01 20:20:08 +02:00
30ad3aea60
feat: minor tweaks to version info 2025-09-30 15:50:17 +02:00
8e4c428421
feat: make manually set color scheme override terminal selected color scheme 2025-09-30 15:28:54 +02:00
2fe12a050e
feat: report color scheme changes from terminal and add command set_color_scheme 2025-09-30 15:13:18 +02:00
cb389888e5
feat: add command toggle_color_scheme and flow mode keybind (alt+f11) 2025-09-30 14:23:30 +02:00
8aee0f3a4f
refactor: use Selection.is_reversed 2025-09-29 22:30:36 +02:00
32c70f0e47
fix: minor leak in editor format command 2025-09-29 22:30:18 +02:00
d6843c4fb9
Merge branch 'master' into zig-0.15 2025-09-29 21:04:55 +02:00
0cbf966b1e
feat: highlight markdown titles 2025-09-29 21:03:50 +02:00
27c01b940a
feat: render ast nodes in inspector view even when there are no highlights 2025-09-29 21:03:42 +02:00
2992b0f520
Merge branch 'master' into zig-0.15 2025-09-29 18:19:38 +02:00
Igor Támara
d695d69383 feat: closing and saving including multiple in helix mode
Review of devlogs to use internal functions to also:

* select next and prev word
* select to start en of doc
* delete to end of line
* Add Cursor to next line
* Show diagnostics
* Show references
2025-09-28 00:06:48 +02:00
b8d2679cbc
Merge branch 'master' into zig-0.15 2025-09-27 23:29:42 +02:00
a5d3eb18f3
feat: add automatic dark/light mode support
This adds a new configuration option `light_theme` and support for automatically
switching the active dark/light theme from terminal events.

closes #302
2025-09-27 23:24:12 +02:00
757096bfb3
fix: use std.heap.stackFallback more carefully 2025-09-26 15:35:14 +02:00
dfdb82ca20
refactor: move write_range to Buffer 2025-09-26 15:04:17 +02:00
Igor Támara
2390590279 feat: add shorcuts for buffers in helix mode
## Added Behaviour for buffers

:n create a new buffer - Uses language selection from flow <3
:bc close current buffer
:bn next buffer
:bp previous buffer
:rl reload current buffer
:qa! abandon without saving any buffer
2025-09-25 22:24:00 +02:00
Igor Támara
9db6bf56c1 feat: add :x alias for :wq in helix mode 2025-09-25 22:24:00 +02:00
720bb9515f
Merge branch 'master' into zig-0.15 2025-09-25 22:04:17 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build 2025-09-25 22:01:29 +02:00
7c49138eac
feat: add :qa! aliase for quit_without_saving in vim mode 2025-09-25 14:56:26 +02:00
6c385bc35a
fix: missing padding in buffer_palette 2025-09-25 14:55:57 +02:00
203f05fef7
feat: make select_next_sibling select the node at the cursor if there is no selection 2025-09-25 10:56:16 +02:00
bfa3ea007c
feat: make shrink_selection select the node at the cursor if there is no selection 2025-09-25 10:55:33 +02:00
bcef17a466
fix: make sure we don't destroy file_path before navigating in open_file mini mode 2025-09-24 13:59:56 +02:00
Jonathan Marler
2790dcfd11 add some new text to the font test 2025-09-23 22:14:29 +02:00