aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
authorAlexey Yerin <yyp@disroot.org>2023-08-27 21:38:48 +0300
committerRandy Palamar <palamar@ualberta.ca>2023-08-27 12:55:29 -0600
commit450dc2df6a3b6443e372dc86cbefc8fede71b54d (patch)
tree28762e11e14318aa662b53b66074dd89f7438165 /sam.c
parentae450f738c0ed07b3b892449463c817a2125c2e7 (diff)
downloadvis-450dc2df6a3b6443e372dc86cbefc8fede71b54d.tar.gz
vis-450dc2df6a3b6443e372dc86cbefc8fede71b54d.tar.xz
Make tabwidth option window-local
Diffstat (limited to 'sam.c')
-rw-r--r--sam.c2
1 files changed, 1 insertions, 1 deletions
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] = {