1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-21 09:49:39 +01:00
home-manager/tests/modules/programs/zed-editor
Jairo Llopis ff31a4677c
fix(zed): support preexisting JSON5 settings (#7317)
Zed uses JSON5 for settings files. JQ doesn't understand that format and
fails if found, when merging with preexisting settings.

Here I add a conversion step that converts JSON5 to JSON before handling
the contents to JQ.

Besides, I changed the arguments in the jq function, so instead of using
`[0]` and `[1]`, we now use `$dynamic` and `$static` respectively. This
should make scripts more readable.

Fixes https://github.com/nix-community/home-manager/issues/7247
Fixes https://github.com/nix-community/home-manager/issues/7226
2025-06-24 15:48:03 -05:00
..
themes zed-editor: add themes option (#6832) 2025-04-20 00:29:44 -05:00
default.nix zed-editor: add themes option (#6832) 2025-04-20 00:29:44 -05:00
extensions.nix zed-editor: respect user interactivity with settings and keymaps (#6993) 2025-06-05 21:20:23 -05:00
install-remote-server.nix zed-editor: add installRemoteServer option 2025-01-29 11:09:51 +01:00
keymap.nix fix(zed): support preexisting JSON5 settings (#7317) 2025-06-24 15:48:03 -05:00
settings.nix fix(zed): support preexisting JSON5 settings (#7317) 2025-06-24 15:48:03 -05:00