Files
Jairo Llopis 190a8d40c7 zed-editor: use mkImpureConfigMerger for mutable settings
Replace the module-local `impureConfigMerger` with
`lib.hm.generators.mkImpureConfigMerger`, keeping the JSON5 reader for
settings that may contain comments.

Behavior is preserved but two rough edges are fixed along the way:

- A corrupted existing file now fails activation loudly instead of
  silently replacing the user's settings with the generated defaults.
- An existing file keeps its permissions and symlink target instead of
  being replaced with a fresh mode-644 file.

Add a test that runs the generated activation snippet with `$DRY_RUN` and
`$VERBOSE` set, covering a dry-run that leaves existing settings
untouched, a live merge on top of preexisting settings, verbose logging,
silent quiet mode, permission preservation, and loud failure on a
corrupted file.

Assisted-by: Goose + GLM 5.3 Flash
2026-10-02 03:07:18 -05:00
..
2025-07-20 19:14:57 -05:00