Francesco Noacco
6cee082157
zed-editor: don't generate empty keymap files
...
default value for user keymaps is an empty list, but the check was
made against an empty set, generating the file when no value
was given
2026-02-07 09:07:14 -06:00
Austin Horstman
9a5042a88c
treewide: assertions at top of config
...
Moving assertions to be consistently at top of the config blocks.
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-22 15:00:15 -06:00
Pierre-Yves Landuré
1f34c2c855
zed-editor: options to generate debug.json
...
Add `mutableUserDebug` and `userDebug` options to generate `debug.json` file.
The options are heavily inspired by `mutableUserTasks` and `userTasks` options implementation.
Closes #8091
2025-11-03 20:24:19 -06:00
musjj
5c54b182ab
zed-editor: option to generate immutable settings
2025-10-25 21:30:50 -05:00
Jairo Llopis
13a83d1b65
zed-editor: support tasks ( #7493 )
...
Just like other features, they can merge with preexisting JSON5
settings.
2025-07-20 19:14:57 -05:00
Jairo Llopis
b182e64c01
zed-editor: survive if previous files are not JSON5 ( #7351 )
2025-07-03 07:44:20 -05:00
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
Austin Horstman
86402a17b6
treewide: flatten single file modules
...
Some files don't need nesting and can be root level again to reduce
conflicts with other PRs.
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-23 16:20:26 -05:00
Austin Horstman
4fca600cb1
treewide: implement auto importing for modules
...
Reduce maintenance burden and increase efficiency by automatically
importing modules following a specific convention.
Co-authored-by: awwpotato <awwpotato@voidq.com>
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-22 23:58:37 -05:00
Kieran
09859234f8
zed-editor: don't add activation scripts if there is nothing to merge ( #7254 )
2025-06-12 20:47:44 -05:00
isabel
1d595a5b64
zed-editor: allow for nullable package ( #7220 )
2025-06-06 15:51:16 -05:00
André Silva
c18a767948
zed-editor: userKeymaps default to empty array ( #7222 )
2025-06-06 09:42:33 -05:00
Jairo Llopis
0ee810c839
zed-editor: respect user interactivity with settings and keymaps ( #6993 )
...
Merges frozen config from HM into dirty config.
Fixes https://github.com/nix-community/home-manager/issues/6835
2025-06-05 21:20:23 -05:00
awwpotato
bb8d286649
zed-editor: add themes option ( #6832 )
2025-04-20 00:29:44 -05:00
Austin Horstman
cba2f9ce95
treewide: reformat nixfmt-rfc-style
...
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00
Austin Horstman
0b491b460f
treewide: remove with lib ( #6735 )
...
Continuation of `with lib;` cleanup.
2025-03-31 22:32:16 -05:00
Gaetan Lepage
1b4f2a4816
zed-editor: add installRemoteServer option
2025-01-29 11:09:51 +01:00
DaRacci
66c5d8b628
zed-editor: fix always generating settings.json
...
Makes it so settings.json no longer gets made by ensuring it can be
empty as expected when there are no extensions or userSettings
defined.
PR #6201
2024-12-13 13:34:55 +01:00
Ingo Reitz
4d8d8c385e
zed-editor: add extraPackages option
...
Add extraPackages option to make for example language servers
available to Zed without having to add them to `home.packages` or
similar.
2024-11-24 21:15:57 +01:00
libewa
e78cbb2027
zed-editor: add module
...
Add a simple module for zed-editor, a simple editor written in Rust.
2024-10-17 16:15:20 +02:00