Commit graph

1559 commits

Author SHA1 Message Date
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
24730f90c0
build: update thespian to avoid SIGTRAP triggering the debugger 2025-07-01 17:36:17 +02:00
21551795ad
feat: install signal crash handler to reset terminal before dumping stack traces
This currently requires cloning std.debug to grant access to the standard trace
dump handler. Hopefully in future this could be made public in the standard
library.
2025-07-01 17:34:41 +02:00
f9189722c2
fix: make sure to show_home if no files are opened via command line 2025-07-01 11:38:46 +02:00
a4bd395122
fix: add workaround for LSPs sending junk null messages (omnisharp) 2025-06-30 12:57:35 +02:00
07ae58e542
feat: add powershell language support 2025-06-24 13:04:06 +02:00
53ea08a41e
fix: don't truncate scratch buffer names in tabs and terminal title 2025-06-24 12:21:10 +02:00
aa9aa0ac93
feat: add hurl language support 2025-06-20 19:25:14 +02:00
a33f6c8c2b
feat: add support for ~ expansion to open_file command and file_browser 2025-06-19 16:08:34 +02:00
9a580ac0e7
fix: prevent unexpected message errors on missing LSP binary 2025-06-19 15:27:32 +02:00
48ea5c649b
fix: replace std.unicode.utf8Decode with safe function that cannot panic on invalid UTF-8 input
closes #268
2025-06-19 14:35:12 +02:00
62fc122c69
feat: add csharp formatter 2025-06-19 14:17:17 +02:00
4a6f67dcfb
feat: add legacy input encoding compatible undo keybinding in emacs mode
closes #267
2025-06-16 15:21:24 +02:00
717bef9c61
build: update to latest libvaxis and zg api 2025-06-04 22:22:52 +02:00
831607ffd6
fix: nudge_delete should handle cursor moving to same line as delete
closes #265
2025-06-03 23:53:12 +02:00
b9fbd6825d
fix: minor home screen fixes 2025-06-03 19:16:22 +02:00
609bc9d257
fix: remove multithreaded buffer access in background async differ
Until we have proper multithreaded buffer lifetime management we should avoid
accessing buffers that may have been deleted already.
2025-06-03 18:15:26 +02:00
006e1ddb45
fix: remove multithreaded buffer access in project_manager
Until we have proper multithreaded buffer lifetime management we should avoid
accessing buffers that may have been deleted already.
2025-06-03 18:14:00 +02:00
3853ac8aea
feat: add highlight_columns_enabled config option and store it on toggle_highlight_columns 2025-06-03 17:22:56 +02:00
cf8eccf3f5
build: update to latest libvaxis to move back to upstream zg 2025-06-03 16:35:13 +02:00
9282d4858a
build: pull in tree-sitter update to fix building on windows 2025-06-02 17:14:31 +02:00
947e55e0c6
fix: word/line wise dragging should keep the original word/line selected
Also, fix bad behaviour when double/triple clicking the last word or line in a
file.

closes #264
2025-06-02 14:44:25 +02:00
e6e5a2f94e
fix: remove prefix from paths in ripgrep results 2025-05-28 12:14:18 +02:00