diff options
| author | Alexey Yerin <yyp@disroot.org> | 2023-08-27 22:52:53 +0300 |
|---|---|---|
| committer | Randy Palamar <palamar@ualberta.ca> | 2023-08-27 14:22:58 -0600 |
| commit | de315f878fba5b6abf2810a05995ae1f5b00d45d (patch) | |
| tree | 77a17775ba85305b61e34ccb0261a34e2521ff99 /vis-cmds.c | |
| parent | 450dc2df6a3b6443e372dc86cbefc8fede71b54d (diff) | |
| download | vis-de315f878fba5b6abf2810a05995ae1f5b00d45d.tar.gz vis-de315f878fba5b6abf2810a05995ae1f5b00d45d.tar.xz | |
Make expandtab option window-local
Diffstat (limited to 'vis-cmds.c')
| -rw-r--r-- | vis-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -255,7 +255,7 @@ static bool cmd_set(Vis *vis, Win *win, Command *cmd, const char *argv[], Select break; } case OPTION_EXPANDTAB: - vis->expandtab = toggle ? !vis->expandtab : arg.b; + vis->win->expandtab = toggle ? !vis->win->expandtab : arg.b; break; case OPTION_AUTOINDENT: vis->autoindent = toggle ? !vis->autoindent : arg.b; |
