From 450dc2df6a3b6443e372dc86cbefc8fede71b54d Mon Sep 17 00:00:00 2001 From: Alexey Yerin Date: Sun, 27 Aug 2023 21:38:48 +0300 Subject: Make tabwidth option window-local --- sam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sam.c') diff --git a/sam.c b/sam.c index db4627b..df8cf83 100644 --- a/sam.c +++ b/sam.c @@ -328,7 +328,7 @@ static const OptionDef options[] = { }, [OPTION_TABWIDTH] = { { "tabwidth", "tw" }, - VIS_OPTION_TYPE_NUMBER, + VIS_OPTION_TYPE_NUMBER|VIS_OPTION_NEED_WINDOW, VIS_HELP("Number of spaces to display (and insert if `expandtab` is enabled) for a tab") }, [OPTION_SHOW_SPACES] = { -- cgit v1.2.3