summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig
index 3c9664f0..67314fd9 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -452,6 +452,12 @@ pub const default_shell = "fish";
/// the file pane's line-number gutter, in columns
pub const PREFIX_W: u16 = 5;
+/// Display width of a literal tab in every Surface-backed frontend. This is a
+/// compile-time setting: edit it and rebuild; zero cannot advance the renderer.
+pub const tab_width: u16 = 4;
+comptime {
+ if (tab_width == 0) @compileError("config.tab_width must be greater than zero");
+}
/// soft wrap (the Wrap builtin): the glyph a wrapped row ends with, in the one
/// column bodyText keeps free for it. A break is the one thing about a wrapped
/// line you cannot see — the text simply continues, and a missing line number