Commit graph

1157 commits

Author SHA1 Message Date
2be1a4d149 feat: make button widgets forward mouse wheel events 2024-08-11 20:27:08 +02:00
2b90fe66e8 fix(windows): translate LSP paths back to standard windows paths 2024-08-08 23:07:36 +02:00
d364ac0f48 fix: paste with no argument should paste from the internal clipboard 2024-08-08 22:48:26 +02:00
4840d2ef60 fix(windows): fallback to internal paste in system_paste on windows 2024-08-08 22:44:54 +02:00
8abc9c0ee1 fix(windows): encode colons in project state file path 2024-08-08 22:27:58 +02:00
5eeeb837ad fix(windows): remove leading slash from LSP URIs on windows 2024-08-08 22:26:37 +02:00
cbe785b967 fix(windows): use os native path separator when encoding LSP URIs 2024-08-08 22:25:39 +02:00
9d9d9388b9 feat(open_recent): always size open recent file list to longest known file path 2024-08-08 21:37:16 +02:00
0abf7bd989 fix(windows): update thespian to fix subprocess on windows 2024-08-08 19:52:43 +02:00
bc386b21f0 fix: reset transparent styles to avoid zebra effect on home screen 2024-08-08 15:22:21 +02:00
9b00805546 feat: avoid sigwinch handling if we detect in band resize capability 2024-08-07 21:46:46 +02:00
3816ec2327 fix: make sure to reset in_band_resize on exit if it was enabled 2024-08-07 20:50:35 +02:00
476baf768e fix: correct a couple of integer overflow errors 2024-08-07 20:32:25 +02:00
ed8a1276da feat: suppress some unhelpful errors 2024-08-07 20:31:38 +02:00
6ca9dad1e4 refactor: remove duplicate C-S-i binding on home screen 2024-08-07 18:28:44 +02:00
32ab76b52d feat: add Spacedust theme 2024-08-06 22:34:18 +02:00
2580d7efc9 feat: add language server for openscad file type
closes #21
2024-08-06 21:50:19 +02:00
d28973b054 refactor: re-format file_types.zig 2024-08-06 21:39:09 +02:00
eed1347bd2 feat: add elixir file type
closes #24
2024-08-06 21:39:09 +02:00
Eleanor Bartle
a9a11cd6a2
Add OCaml Formatter and LS (#23)
feat: Add OCaml Formatter and Server

I set the "maximally correct" defaults on both.
2024-08-06 12:52:24 +02:00
8fc80b6360 fix: don't update diff on exit 2024-08-05 22:23:53 +02:00
b09aa98f70 feat: support loading extreamly large files
- Allocate initial file and leaf data outside of Buffer.arena
- Disable gutter diffs for very large files
- Disable syntax highlighting for very large files
2024-08-05 22:05:38 +02:00
7332108820 feat: update thespian for OutOfMemory stack traces 2024-08-05 21:41:29 +02:00
bbafcf68a5 feat: add goto_next/prev_file_or_diagnostic bindings to home screen 2024-08-05 21:39:49 +02:00
c1acd10506 fix: update libvaxis to fix bounds check in Window.fill 2024-08-05 21:38:47 +02:00
146ad980d5 docs: minor readme tweaks 2024-08-01 18:17:01 +02:00
83322ab2d9 feat: add ini as a toml file extension
ini files are not technically toml files, but they are close enough to
highlight nicely.
2024-08-01 18:10:36 +02:00
948328bcd0 docs: update readme and help 2024-08-01 18:10:05 +02:00
3400554f57 build: use vendored flow-syntax 2024-07-31 08:55:06 +02:00
f94c567994 Squashed 'src/syntax/' content from commit 3619572
git-subtree-dir: src/syntax
git-subtree-split: 3619572ed88841cd2106c141c0baacfcb8496023
2024-07-31 08:50:30 +02:00
eecf3051ee Merge commit 'f94c5679941724f13f4a0e9a90ab8be37f809862' as 'src/syntax' 2024-07-31 08:50:30 +02:00
9139e3f9ad feat: add --exec command line option
This allows you to execute mini scripts on flow startup.

For example to change flow's whitespace setting:

`flow --exec toggle_whitespace --exec quit'

Or open and move to the end of a file:

`flow src/main.zig --exec move_buffer_end`
2024-07-30 22:16:52 +02:00
23e0a88c0c docs: Fix incorrect statement about mouse support on windows in readme 2024-07-30 21:57:33 +02:00
7ccc0e15f6 feat: Add --list-languages command line parameter 2024-07-30 21:55:50 +02:00
42ee6459e6 feat: improve performance of incremental re-parsing
We use Buffer.Node.get_byte_pos instead of Buffer.Node.get_range to calculate
tree-sitter edits for incremental parsing. This reduces the number of
egc_length calls required per syntax.edit call to the minimum.
2024-07-29 21:46:34 +02:00
b0a99a0813 build: update libvaxis 2024-07-28 23:04:45 +02:00
4fd1f4935c feat: start work on makeing filelist_view scrollable 2024-07-28 23:02:15 +02:00
9a6c5baf8b feat: add keybindings for next/previous file in filelist_view (A-n/p) 2024-07-28 22:41:07 +02:00
99b50dd3f5 fix(vaxis): don't panic on left or right scroll 2024-07-28 22:36:46 +02:00
5f22ce81bc feat: improve find in files performance 2024-07-28 00:13:18 +02:00
f535fc02bf feat: more work on new find in files results table 2024-07-27 23:57:56 +02:00
a5f27f51a1 feat(open_recent): color open recent pointer 2024-07-27 23:12:40 +02:00
24d07ec8a4 feat(palette): color command palatte pointer 2024-07-27 23:12:12 +02:00
262aeb1608 fix(mainview): prevent recursive event handler call error 2024-07-27 21:12:26 +02:00
c1d3394246 fix(palette): wrong use of command.ID in set_used_time 2024-07-27 13:41:59 +02:00
c5f9f37c4c fix(renderer): fully reset tty on panic 2024-07-27 13:34:33 +02:00
d22dcff571 feat: start work on file list view 2024-07-27 13:28:45 +02:00
054400ce3b refactor: remove unused member in mainview 2024-07-27 12:48:02 +02:00
fb1d91585f feat: add Buffer get_from_pos function 2024-07-23 22:21:12 +02:00
2db66a1369 feat: improve rendering of long file names in open recent file list 2024-07-22 23:44:22 +02:00