summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 19:11:53 -0300
committerGabriel Schneider <[email protected]>2026-10-01 19:57:27 -0300
commit5f41a03fdcf0eaa3c1917e0f94243878c481cf8b (patch)
treec3025e2ca80a295962fa941bb4423df9a1525509 /src/config.zig
parent6ee4c3caa6faf42b9825dca39e9130ac83f425a8 (diff)
downloadpardes-5f41a03fdcf0eaa3c1917e0f94243878c481cf8b.tar.gz
pardes-5f41a03fdcf0eaa3c1917e0f94243878c481cf8b.zip
Incl dir ... adds directories a look at a name found nowhere else is tried in, as acme's includename, <stdio.h> too; bare Incl lists them and Incl - empties them; the session's, seeded with /usr/include and /usr/local/include, kept in a dump; Indent's refusal says Enter keeps the indent always
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig
index 640f3cd0..375b4c69 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -60,6 +60,7 @@ pub const leader_path = paths: {
.Exit = "q",
.Get = null,
.Putall = null,
+ .Incl = null,
.ClipYank = "y",
.ClipYankMain = "Y",
.ClipPaste = "p",
@@ -400,6 +401,9 @@ pub fn defaultShell() []const u8 {
// Minimum file gutter width, including the space after the line number.
pub const PREFIX_W: u16 = 5;
+/// acme's Incl's C defaults: where a look at `stdio.h` finds it.
+pub const default_incl = [_][]const u8{ "/usr/include", "/usr/local/include" };
+
pub const tab_width: u16 = 4;
comptime {
if (tab_width == 0) @compileError("config.tab_width must be greater than zero");