diff options
| author | Matthias Braun <matze@braunis.de> | 2015-01-04 20:35:21 -0800 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2015-01-04 20:49:06 -0800 |
| commit | 1dba77b9704734cae7d1d683ae0f5d88acb3ed9a (patch) | |
| tree | aa757e9dd02419b3500e8831820612478b2b4ba3 /editor.h | |
| parent | c8d9e1d3d9f947f511e2ab395fae2d2710454c3e (diff) | |
| download | vis-1dba77b9704734cae7d1d683ae0f5d88acb3ed9a.tar.gz vis-1dba77b9704734cae7d1d683ae0f5d88acb3ed9a.tar.xz | |
implement rudimentary autoindent
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -108,6 +108,7 @@ struct Editor { void (*statusbar)(EditorWin*); /* configurable user hook to draw statusbar */ int tabwidth; /* how many spaces should be used to display a tab */ bool expandtab; /* whether typed tabs should be converted to spaces */ + bool autoindent; /* whether indentation should be copied from previous line on newline */ }; Editor *editor_new(int width, int height); |
