Commit graph

189 commits

Author SHA1 Message Date
deaafbefa0
feat: upgrade cursors to block cursors when multi-cursor editing
This is to match the secondary cursors which are always block cursors.
It also give some visual feedback that we are multi-cursor.
2024-12-20 21:14:17 +01:00
69c2d06007
fix: hover should convert column to byte position in LSP response
closes: #85
2024-12-20 20:16:50 +01:00
1aa64b8ea4
fix: hover should convert column to byte position in LSP request
closes: #85
2024-12-20 17:56:04 +01:00
ca784d1712
feat: allow cursor shape configuration for mini and overlay modes 2024-12-20 13:59:08 +01:00
a0d9dede18
feat: hide line highlight when selecting if theme requires it 2024-12-18 16:22:56 +01:00
c0a9be21f5
feat: sanitize non utf-8 and display a status bar warning 2024-12-18 15:52:57 +01:00
e865a89ede
feat: render secondary/unfocused cursors with secondary cursor theme style 2024-12-17 21:22:49 +01:00
32d67a3972
feat: use terminal cursors for mini mode and overlay input boxes
closes: #80
2024-12-17 19:15:20 +01:00
cbc8df69d3
feat: improve filter executable not found errors 2024-12-16 23:16:44 +01:00
a5849a7dab
refactor: eliminate generic InvalidArgument errors
InvalidArgument is too generic and makes tracking the source of the
error potentially difficult.
2024-12-12 17:02:11 +01:00
72e88ba6a3
refactor: no need to force const on allocated return values 2024-12-11 20:44:11 +01:00
9fba9eba3c
feat: add palette for changing the current file type 2024-12-10 20:10:36 +01:00
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