Commit graph

69 commits

Author SHA1 Message Date
56e6412837
feat: add open_version_info command 2025-01-30 14:51:36 +01:00
d664d041fa
refactor: add main.write_config_to_writer function 2025-01-30 14:05:16 +01:00
2371140b3f
feat(tabs): don't write tab styles config if it doesn't already exist 2025-01-30 13:14:00 +01:00
917462a6e3
feat(tabs): improve tab styling and make tabs user stylable 2025-01-29 20:01:51 +01:00
0f6be55dbd
refactor: improve usefullness of trace-level 1 2025-01-26 17:01:33 +01:00
Jonathan Marler
59bb2c0b45 fix bug in assumption that all include files are json files 2025-01-09 07:10:50 +01:00
Jonathan Marler
4cc7eeed59 config: improve errors
Config errors now include filename and line number. I also reworded the
errors themselves since the error message now includes the filename/line
number, it's clear it's a config file error.
2025-01-08 23:16:58 +01:00
caeb3fc338
feat(config): migrate to a simpler config file format 2025-01-08 22:14:29 +01:00
4f5eb15392
fix(config): improve error handling in config file reader
closes #133
2025-01-08 21:19:08 +01:00
9e4e81eb0d
feat(win32 gui): read fontface and size from gui_config 2025-01-08 15:57:38 +01:00
1acc9b107e
refactor(config): BREAKING rename config option config_files to include_files 2025-01-08 14:36:47 +01:00
eaa7ad87b7
feat(win32 gui): add gui_config.json config file 2025-01-08 14:36:43 +01:00
aa95e78a80 refactor(nested config files): simplify and avoid duplicate code
Also, fix a small use after free bug.
2025-01-06 12:12:14 +01:00
Jonathan Marler
194fe70d6e feat(nested config files)
Adds a config_files option to config.json that allows the user
to specify one or more config files to load in addition to the
main config file.

For me this allows me to keep my flow configuration in a shared dotfiles
repository managed by git.
2025-01-06 12:12:14 +01:00
c709ec0dc8
fix: remove extra slash in keybind config path 2024-12-11 21:27:19 +01:00
3b4687761e
fix: search path for flow when restarting
If argv[0] is not an absolute or relative path.
2024-12-06 21:06:04 +01:00
264c6ca54b
feat: dynamically determine available keybind namespaces 2024-12-01 23:24:13 +01:00
0cb0f59de8
Merge branch 'master' into keybind 2024-11-25 16:34:30 +01:00
ba82922ce9
feat: add env override FLOW_KEYS_DIR 2024-11-20 22:12:53 +01:00
47dd41bdf6
feat: add --literal cli option to disable file name parsing for line numbers 2024-11-20 21:33:18 +01:00
dc914ba562
feat: load and edit key bindings in config directory 2024-11-19 18:11:22 +01:00
45bba616df
feat: add cli option to enable syntax timing reports 2024-10-29 20:44:51 +01:00
9db287bcc3
docs: add missing colon 2024-10-14 19:47:41 +02:00
cb11ccfeb4
docs: remove trailing periods from --help strings to match flags library 2024-10-14 19:46:21 +02:00
832aff1d6f
refactor: run zig fmt 2024-10-14 19:44:58 +02:00
f2ae12a298
docs: tweak application title in --help output 2024-10-14 19:44:01 +02:00
Joe Mckay
0c239ec92d
refactor: cleanup 2024-10-14 19:34:37 +02:00
Joe Mckay
9e35eb8ff1
feat: Add flag formats 2024-10-14 19:34:32 +02:00
Joe Mckay
47f29e70f4
feat: Replace 'zig-clap' with 'flags' 2024-10-14 19:34:28 +02:00
b1362814db
fix: catch more errors in file browser 2024-10-14 19:27:38 +02:00
870ee1df1f
feat: log config file errors 2024-10-14 17:58:14 +02:00
75b1c85723
fix: print a message to stderr if setlocale fails 2024-09-03 17:34:12 +02:00
595919c764
feat: colorize --list-languages output 2024-09-02 21:43:39 +02:00
Yhya Ibrahim
7fad128304 fix: pass allocator to list_languages.list 2024-09-02 20:33:46 +03:00
7b812d73ea
refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
409f636902
refactor: move application title and subtext to root module 2024-08-23 22:20:43 +02:00
08e06bc8dd
refactor: clean-up flow logo rendering 2024-08-21 21:55:35 +02:00
5fdcdba4b8 refactor: move abbreviate_home to root module 2024-08-17 23:27:36 +02:00
1f6bc86265 feat: add cli option to disable syntax highlighting 2024-08-16 22:00:25 +02:00
3cbca45b82 feat: improve layout of filelist view 2024-08-11 21:03:37 +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
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
7ccc0e15f6 feat: Add --list-languages command line parameter 2024-07-30 21:55:50 +02:00
a3a298f721 feat: enable zig stack traces on errors with --debug-dump-on-error 2024-07-04 23:16:50 +02:00
d965a70b21 feat: add detailed version info cli option 2024-07-02 18:38:33 +02:00
16ec05c75b feat: add force_terminate command 2024-07-02 12:21:40 +02:00
563772659f fix: is_directory should return false for non-existent (new) files 2024-07-02 09:54:35 +02:00
cb3be2845c fix(windows): support --debug-wait on windows 2024-07-01 19:45:16 +02:00
21b604f4d6 fix(windows): reduce idle cpu usage to zero on windows
Now we use a keepalive timer instead of forcing no-sleep to keep the work
queue from running empty and causing flow to exit early.
2024-06-26 22:24:36 +02:00
1533ec2993 feat: allow opening project directories on the command line 2024-06-23 21:37:37 +02:00