From de315f878fba5b6abf2810a05995ae1f5b00d45d Mon Sep 17 00:00:00 2001 From: Alexey Yerin Date: Sun, 27 Aug 2023 22:52:53 +0300 Subject: Make expandtab 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 df8cf83..9902a66 100644 --- a/sam.c +++ b/sam.c @@ -323,7 +323,7 @@ static const OptionDef options[] = { }, [OPTION_EXPANDTAB] = { { "expandtab", "et" }, - VIS_OPTION_TYPE_BOOL, + VIS_OPTION_TYPE_BOOL|VIS_OPTION_NEED_WINDOW, VIS_HELP("Replace entered with `tabwidth` spaces") }, [OPTION_TABWIDTH] = { -- cgit v1.2.3