aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
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] = {