Commit graph

1031 commits

Author SHA1 Message Date
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
ba770f6b46 build: always use the same version of zg as libvaxis 2024-07-22 20:15:33 +02:00
628a04cf27 feat: update flow-syntax to add the shtml file type 2024-07-22 17:44:53 +02:00
7a2f75c39c fix(html): update superhtml binary name 2024-07-22 14:39:09 +02:00
Jonathan Marler
0e6fa89e44 fix tty nextEvent call on Windows 2024-07-20 22:11:29 +02:00
Jonathan Marler
32dc17c087 remove unused cppflags in build.zig 2024-07-20 22:10:42 +02:00
787bf3c658 feat: update flow-syntax to add yaml file type 2024-07-10 21:51:27 +02:00
67407aeb41 fix: set undercurl color after the rest of the diagnostic style 2024-07-09 23:43:55 +02:00
0caeb2c523 feat: set undercurl color for diagnostics 2024-07-09 21:16:16 +02:00
4b694d4f0f fix(windows): use std.fs.path.isAbsolute in Project.make_URI 2024-07-09 19:26:18 +02:00
82b5f5433d fix(lsp): increase LSP request timeout to 30 seconds 2024-07-09 13:32:37 +02:00
9624a4da57 fix(lsp): update flow-syntax to fix haskell language server 2024-07-09 13:32:11 +02:00
f9bbc7f582 feat(LSP): add some logging of LSP start/stop 2024-07-08 22:41:34 +02:00
f60ccd7c37 fix(home): resize home screen menu before rendering 2024-07-08 21:55:11 +02:00
00030759f6 fix(tests): re-enable Buffer.rebalance test 2024-07-08 21:54:26 +02:00
4e5fbf479d fix(LSP): don't append absolute paths to project director in Project.make_URI 2024-07-08 21:53:18 +02:00
2b677a95b9 feat: update flow-syntax to add super-html support 2024-07-06 00:24:25 +02:00
6d44081fa2 feat: add fallbacks for LSPs that send incomplete diagnostics
Yes, I'm lookin at you super...
2024-07-06 00:13:48 +02:00
469453c7da feat: update flow-syntax for nimble file type 2024-07-05 23:29:08 +02:00
2e4964023c feat: update flow-syntax for nim and kdl file types 2024-07-05 23:08:35 +02:00
f06a7b3d6a refactor(Buffer): rename Metrix to Metrics
Metrix was a bit too silly
2024-07-05 20:58:24 +02:00
633cc5a1c1 fix(tests): fix buffer tests 2024-07-05 20:53:05 +02:00
12842b6b3b refactor(find): switch back to synchronous find to eliminate flicker 2024-07-05 19:56:01 +02:00
66df590541 refactor(find): use dynamic input buffer in find mode and improve some edge cases 2024-07-05 19:56:01 +02:00
128182a448 refactor(Buffer): remove Plane dependency in Buffer 2024-07-05 00:33:31 +02:00
a3a298f721 feat: enable zig stack traces on errors with --debug-dump-on-error 2024-07-04 23:16:50 +02:00
8b893ab8b0 fix: update thespian to disable zig stack traces 2024-07-04 23:10:50 +02:00