Commit graph

1581 commits

Author SHA1 Message Date
30c6ac0e82
feat: BREAKING make highlight_columns a list of integers 2025-07-16 19:42:12 +02:00
46dfde7685
refactor: simplify and improve management of config buffers 2025-07-16 19:42:12 +02:00
489c4027cb
feat: allow arrays of scalar values as config options 2025-07-16 19:42:12 +02:00
ada40b989c
feat: add limit_auto_save_file_types config option
closes #77
2025-07-16 19:41:35 +02:00
99664742c3
feat: save file if changed if auto save is enabled 2025-07-16 17:22:06 +02:00
35e36089a8
feat: save and restore enable_auto_save in editor state 2025-07-16 16:40:28 +02:00
c5fe992f75
feat: add toggle_auto_save command 2025-07-16 16:40:07 +02:00
c300c4f7f2
feat: add enable_auto_save configuration option 2025-07-16 16:35:03 +02:00
7bdbe60776
fix: restoring of last_find_query from editor state 2025-07-16 16:33:45 +02:00
f8d3bbf643
feat: save and restore enable_format_on_save in editor state 2025-07-16 16:32:37 +02:00
550834a626
feat: add toggle_format_on_save command 2025-07-16 15:38:31 +02:00
0a74bab466
fix: bitrot in syntax.FileType.guess_static 2025-07-15 18:35:19 +02:00
b0096bed74
feat: create parent directories if needed when saving new files
closes #84
2025-07-15 18:07:15 +02:00
bc2fbec083
refactor: clean-up std.StaticStringMap naming 2025-07-15 13:17:04 +02:00
c5655468e3
fix: make keybind module respect command.suppressed_errors list
Also, make suppressed_errors a static string map for a little extra
performance.
2025-07-15 13:16:56 +02:00
0003a52aaf
refactor: avoid unnecessary @intCast and @ptrCast in FontFace.zig 2025-07-15 12:38:06 +02:00
4592dd807d
fix: allow font names longer than 31 characters in win32
closes #275
2025-07-15 12:36:50 +02:00
09c890970e
fix: add parser parameters to prettier formatters 2025-07-14 21:15:02 +02:00
Yappaholic
3ec6afdae5
update nix and web-based langs 2025-07-14 21:00:20 +02:00
17859b6dfd
fix: don't try to call thespian debugger signal handler on macos 2025-07-14 18:42:32 +02:00
81f616afba
fix: update thespian to fix windows builds 2025-07-14 18:31:08 +02:00
af22eb4be6
docs: mention file type configuration in README.md and help.md
closes #192
2025-07-14 18:02:25 +02:00
a540d2bf36
fix: don't error loop if the configured file type parser is not found 2025-07-14 18:02:25 +02:00
1ea3575d61
feat: add support for configuring the file type syntax parser 2025-07-14 18:02:25 +02:00
f88613a9e4
fix: file_type_config should not use syntax.FileType.get_all() 2025-07-14 18:02:24 +02:00
f7cea96844
feat: merge configured and static file type lists
This allows adding of new file types by adding config files.
2025-07-14 18:02:24 +02:00
abd1e683a3
refactor: move default file type constants to file_types_config module 2025-07-14 18:02:24 +02:00
924b3a2a75
refactor: store static file types in a StaticStringMap instead of a plain list 2025-07-14 18:02:24 +02:00
2ebd684d29
feat: port file type palette to use configurable file types 2025-07-14 18:02:24 +02:00
53c9523617
feat: port list_languages command to use configurable file types 2025-07-14 18:02:24 +02:00
6df9391b50
feat: make project_manager use configurable file types 2025-07-14 18:02:23 +02:00
bffc56b618
feat: port editor to use configurable file types 2025-07-14 18:02:23 +02:00
818b2cf915
feat: complete loading of configurable file types 2025-07-14 18:02:23 +02:00
4ad8728669
refactor: mark static file types as static to differentiate from configured file types 2025-07-14 18:02:23 +02:00
d281c342ae
refactor: remove obsolete syntax.file_type member 2025-07-14 18:02:23 +02:00
2ba5fa90a3
feat: add support for arrays of config values
Also, fix color value decoding.
2025-07-14 18:02:23 +02:00
50145dd176
feat: update cbor to add support for allocating extraction of arrays 2025-07-14 18:02:22 +02:00
7069d36461
fix: incorrect string encoding of color config values 2025-07-14 18:02:22 +02:00
a21fd2b397
fix: allow editing the current editor's file type 2025-07-14 18:02:22 +02:00
2897d8d745
feat: add command to edit file type configuration files 2025-07-14 18:02:22 +02:00
8281f65011
fix: panic on extra long plane names 2025-07-14 18:02:22 +02:00
c37f6d0b8d
fix: panic in color.to_string 2025-07-14 18:02:21 +02:00
e9735d9425
feat: more improvements to panic handling
Follow on panics no longer confuse the panic output and the just in
time debugger now works properly on the local tty.
2025-07-14 18:02:21 +02:00
14dce0a10b
feat: add support for arrays and hex color values in config files 2025-07-14 18:02:21 +02:00
4bd6c12f3b
feat: add functions for converting colors to/from hex values 2025-07-14 18:02:21 +02:00
Pranav RK
8e35387ae6 feat: add ctrl-c keybind to exit insert mode 2025-07-13 09:07:24 +02:00
43d6bc66f4
feat: smart delete leading whitespace to indent_size
Also and some commentary to the smart_delete_backwards code.

closes #245
2025-07-03 10:26:11 +02:00
c6d59c1472
fix: don't stop unindenting on blank or full unindented lines
closes #263
2025-07-03 09:39:03 +02:00
338d7f7bf3
feat: add follow_cursor_on_buffer_switch option (default false)
With this option disabled (the default) flow will not change the buffer
position at all when switching active buffers. Enable the option to
return to previous behaviour where the cursor is always scrolled into
view.

closes #271
2025-07-01 21:11:55 +02:00
10476f4e87
fix: add back missing windows check for crash handler 2025-07-01 18:02:34 +02:00