summaryrefslogtreecommitdiff
path: root/core/builtins_json.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-19 23:51:23 -0300
committerGabriel Schneider <[email protected]>2026-11-20 00:00:00 -0300
commit8a1f65a2d374796b9b5559c4aab87c8d1e8f6e68 (patch)
tree24c4d770b8ac5a11e1f0169f9e0707fda8cde678 /core/builtins_json.zig
parentd236dff22567c2f563756695598678afb84fbef4 (diff)
parenta310585195484b8420f14cff3e736c604f47c11e (diff)
downloadpardes-8a1f65a2d374796b9b5559c4aab87c8d1e8f6e68.tar.gz
pardes-8a1f65a2d374796b9b5559c4aab87c8d1e8f6e68.zip
integration: the ruled renames on the documents and the load-independent tests: pardes-renames (config.Settings, macos.Callbacks, core/ninep/harness.zig, Pane.docked_to and the word Undock) and pardes-merge23; one conflict, in core/CHANGELOG.md, where both sides added Unreleased entries: both kept; no old name left in the tree; tui core-test 848/991 (143 skipped), shell-test 1027/1030, the window builds
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/builtins_json.zig')
-rw-r--r--core/builtins_json.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/builtins_json.zig b/core/builtins_json.zig
index 3773e5ae..23e15098 100644
--- a/core/builtins_json.zig
+++ b/core/builtins_json.zig
@@ -65,11 +65,11 @@ pub fn write(w: *std.Io.Writer, addon_sources: []const []const u8) std.Io.Writer
try w.writeAll(if (builtins.registry.takesArg(b)) "true" else "false");
try w.writeAll(", \"scope\": ");
try str(if (b == .Edit) "both" else if (builtins.registry.scope(b) == .session) "root" else "pane", .{}, w);
- const setting = config.Runtime.find(name);
+ const setting = config.Settings.find(name);
try w.writeAll(", \"setting\": ");
try w.writeAll(if (setting != null) "true" else "false");
try w.writeAll(", \"choices\": ");
- if (setting) |s| if (config.Runtime.choices(s.action)) |v| try str(v, .{}, w) else try w.writeAll("null") else try w.writeAll("null");
+ if (setting) |s| if (config.Settings.choices(s.action)) |v| try str(v, .{}, w) else try w.writeAll("null") else try w.writeAll("null");
var buf: [2048]u8 = undefined;
const doc = if (setting) |s| s.doc else ctl.summaryOf(name, &buf);
try w.writeAll(", \"doc\": ");