Commit graph

127 commits

Author SHA1 Message Date
132518d1ba
fix: add '!' to non word chars 2024-12-10 09:49:05 +01:00
cc14934aa5
fix: improve movement behaviour of cursors on unindent 2024-12-09 18:12:21 +01:00
5e35824a22
fix: restore cursors if unindent fails 2024-12-06 23:21:45 +01:00
dbc4707001
fix: if selection starts at BOL when indenting keep it there after indenting 2024-12-06 21:26:10 +01:00
d26d830246
fix: move a cursor at the beginning of a line that is being indented 2024-12-06 21:20:04 +01:00
c282398d6e
feat: add - < > to non word chars list 2024-12-06 21:07:56 +01:00
28b256971a
fix: clamp cursor on restore_session 2024-12-05 20:23:25 +01:00
eddc074a23
Merge branch 'master' into keybind 2024-11-25 22:01:22 +01:00
b0a1b80acb
feat: add expand/shrink_selection and select_next/prev_sibling commands 2024-11-25 21:55:31 +01:00
6372beb762
refactor: rename command.get_id and add command.get_name 2024-11-21 17:55:03 +01:00
150374afae
feat: add argument metadata to (most) commands that take parameters 2024-11-21 17:34:11 +01:00
e172590ba8
feat: implement scroll_view_center_cycle to replace cmd_cycle3 2024-11-17 22:43:14 +01:00
ed843a9baf
fix: move system_paste command to mainview so it can be used when on editor is open 2024-11-17 22:01:10 +01:00
351412231f
refactor: run zig fmt 2024-11-17 20:47:25 +01:00
18f321bf41
refactor: move input types to new module and use directly use libvaxis types 2024-11-15 21:16:31 +01:00
4360390b89
fix: don't skip syntax highlighting the first symbol in a file 2024-11-06 16:38:58 +01:00
78f6756494
fix: render syntax using only the first match at a point 2024-11-05 21:00:29 +01:00
cbcf8cc2dd
fix: don't alpha blend selections over matches 2024-11-04 23:34:47 +01:00
cfb9f8cf11
refactor: remove unused parameter in set_base_style 2024-11-04 22:20:06 +01:00
0a43fa853f
feat: support rendering theme colors with alpha components 2024-11-04 22:19:45 +01:00
da85c40603
fix: remove obsolete and broken syntax.refresh function 2024-10-30 17:53:05 +01:00
f313ea4a09
feat: use diffs instead of cursor nudges to refresh tree-sitter 2024-10-29 20:44:23 +01:00
d0de867d91
fix: set project correctly on restart 2024-10-28 19:58:47 +01:00
a9058ef949
fix: queue quit command to run after an async save_file
closes #60
2024-10-27 20:31:07 +01:00
3340ff5ef9
fix: add missing syntax.reset() call on full syntax refresh 2024-10-27 16:20:22 +01:00
66dfcd4a91
fix: relax tree-sitter full reparse time limit to avoid incremental parsing 2024-10-27 16:10:12 +01:00
16c5471126
refactor: move command and EventHandler out of the tui module 2024-10-25 22:39:04 +02:00
d804203760
fix: only render the first line of multiline diagnistics inline
fixes #51
2024-10-24 22:36:33 +02:00
40809835ae
fix: don't repeatedly send hover requests for the same editor cell 2024-10-22 19:07:26 +02:00
03cdcd260e
fix: propagate configured frame rate to widgets 2024-10-20 21:33:01 +02:00
9cc2613818
fix: double syntax_refresh_update_time 2024-10-15 22:52:23 +02:00
d10656b433
refactor: cache CaseData in Editor 2024-10-15 22:51:46 +02:00
88cf5670aa
fix: make switch_case flip each character individually 2024-10-15 22:27:59 +02:00
252ad3c269
feat: simplify the implementation of switch_case and add a flow mode keybind 2024-10-15 20:49:26 +02:00
xdBronch
9c448b14e5 add vim/helix ~ 2024-10-15 20:49:19 +02:00
7b9a4fd586
fix: use more widely available box character for indent guides
The standard box chars are rendered properly in more terminals.
2024-10-15 10:49:47 +02:00
470967981b
feat: add command to toggle syntax highlighting (S-F10) 2024-10-12 20:26:40 +02:00
f4dd30b1c2
feat: make --no-syntax just disable syntax highlighting and not language server support 2024-10-12 19:57:47 +02:00
8004b41eb4
fix: don't force a full syntax reparse on undo/redo 2024-10-12 00:54:04 +02:00
efc5546488
feat: only use partial tree-sitter reparsing if parsing take more than 5ms 2024-10-12 00:52:04 +02:00
e9a7d681f2 fix: add missing pos_to_width calls in add_diagnostic
This will fix the positioning of diagnostics in lines that have glyphs
with widths != 1 like tabs or emojis.
2024-10-11 21:07:55 +02:00
39d4197a42
fix: workaround indent size limitation in indent_cursor 2024-10-10 23:44:13 +02:00
d2238bf847
feat: make indent size and tab width configurable and add indent guide mode 2024-10-10 23:16:49 +02:00
9080fd4826
fix: correctly propagate eol mode to status bar widgets 2024-09-25 20:52:35 +02:00
593b202b16
feat: add support for CRLF EOL mode 2024-09-25 20:06:06 +02:00
d75dcd7b84
feat: add metadata to all commands 2024-09-17 23:00:53 +02:00
bf3fe5f2ba
refactor: run zigimports
closes: #38
2024-09-10 22:25:54 +02:00
1391372174
feat: add mouse hover support to editor in jump mode 2024-09-10 21:24:54 +02:00
539b1fd37d
feat: add editor hover command 2024-09-10 20:23:34 +02:00
86fdfe98e2
fix: render syntax for overlapping tree-sitter captures 2024-09-03 14:41:26 +02:00