From 5f41a03fdcf0eaa3c1917e0f94243878c481cf8b Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 1 Oct 2026 19:11:53 -0300 Subject: Incl dir ... adds directories a look at a name found nowhere else is tried in, as acme's includename, 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 --- src/config.zig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config.zig') 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"); -- cgit v1.3