summaryrefslogtreecommitdiff
path: root/core/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/config.zig')
-rw-r--r--core/config.zig10
1 files changed, 3 insertions, 7 deletions
diff --git a/core/config.zig b/core/config.zig
index ebc5d056..5f63268e 100644
--- a/core/config.zig
+++ b/core/config.zig
@@ -350,11 +350,6 @@ pub const PREFIX_W: u16 = 5;
pub const default_incl = [_][]const u8{ "/usr/include", "/usr/local/include" };
pub const tab_width: u16 = 4;
-/// The width a tab is drawn and counted at now: `Tab N` (Runtime.tab) sets
-/// it, a new session starts it at tab_width. ponytail: one for the process,
-/// as the session's setting is one; per pane would mean handing a pane to
-/// every width function (File.graphemeDisplayWidth and its ~130 callers).
-pub var tab_now: u16 = tab_width;
comptime {
if (tab_width == 0) @compileError("config.tab_width must be greater than zero");
}
@@ -665,8 +660,9 @@ pub const Runtime = struct {
tagline_percent: u8 = 100,
} = .{},
- /// acme's Tab: a tab's width in cells, in every pane (config.tab_now
- /// is what the drawing and the column arithmetic read).
+ /// acme's Tab: a tab's width in cells, in every pane: what the drawing
+ /// (Surface.tab) and the column arithmetic (File.graphemeDisplayWidth's
+ /// `tab`, handed down from here) read.
tab: u16 = tab_width,
callstack_depth: u8 = @import("lsp/lsp.zig").callstack_default_depth,