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-core.h | |
| parent | 450dc2df6a3b6443e372dc86cbefc8fede71b54d (diff) | |
| download | vis-de315f878fba5b6abf2810a05995ae1f5b00d45d.tar.gz vis-de315f878fba5b6abf2810a05995ae1f5b00d45d.tar.xz | |
Make expandtab option window-local
Diffstat (limited to 'vis-core.h')
| -rw-r--r-- | vis-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -158,6 +158,7 @@ struct Win { UiWin *ui; /* ui object handling visual appearance of this window */ File *file; /* file being displayed in this window */ View *view; /* currently displayed part of underlying text */ + bool expandtab; /* whether typed tabs should be converted to spaces in this window*/ MarkList jumplist; /* LRU jump management */ Array saved_selections; /* register used to store selections */ Mode modes[VIS_MODE_INVALID]; /* overlay mods used for per window key bindings */ @@ -183,7 +184,6 @@ struct Vis { char search_char[8]; /* last used character to search for via 'f', 'F', 't', 'T' */ int last_totill; /* last to/till movement used for ';' and ',' */ int search_direction; /* used for `n` and `N` */ - bool expandtab; /* whether typed tabs should be converted to spaces */ bool autoindent; /* whether indentation should be copied from previous line on newline */ bool change_colors; /* whether to adjust 256 color palette for true colors */ char *shell; /* shell used to launch external commands */ |
