summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-18 14:21:38 -0300
committerGabriel Schneider <[email protected]>2026-08-18 23:45:30 -0300
commit382abe3dafb872b3e6c9792a9cc0abcf6267e180 (patch)
treee30f47d911561db9b02e714287a1658822c77a09 /src/config.zig
parentc24a9e40215bc30c68c9db7675f1c6a07d9bbae3 (diff)
downloadpardes-382abe3dafb872b3e6c9792a9cc0abcf6267e180.tar.gz
pardes-382abe3dafb872b3e6c9792a9cc0abcf6267e180.zip
file_watch + builtins + config: richer watch semantics, new builtins, config docs
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig
index f58716e5..965570f9 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -208,6 +208,13 @@ pub const leader_path = paths: {
// The web build has no runnable effect argument, so it has no command,
// help row, dispatcher case, or leader entry for EffectCode either.
if (builtins.EffectCode.enabled) table.set(.EffectCode, null);
+ // Native-only filesystem theme commands. ThemeFile needs an operand and
+ // DumpThemes is intentionally occasional, so both stay word-executed
+ // rather than spending leader chords.
+ if (pardes.platform != .web) {
+ table.set(.ThemeFile, null);
+ table.set(.DumpThemes, null);
+ }
// The pane-local PDF commands exist only in MuPDF builds through their
// explicit registry availability, so name their paths inside the same
// comptime branch. PdfTint/PdfFit retain their display slots and