diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-05-21 12:29:59 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-05-22 00:05:30 +0200 |
| commit | 29f8d2488cfe86678e65e73c58e36d7c48a0e11b (patch) | |
| tree | bc58ec4a206c1a5d393a67837acb5ea1cce02193 /vis-core.h | |
| parent | b36ddb65334b4de406304786abfbde85b1e9a4e4 (diff) | |
| download | vis-29f8d2488cfe86678e65e73c58e36d7c48a0e11b.tar.gz vis-29f8d2488cfe86678e65e73c58e36d7c48a0e11b.tar.xz | |
vis: consider :set horizon setting when syntax highlighting
Diffstat (limited to 'vis-core.h')
| -rw-r--r-- | vis-core.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -135,6 +135,7 @@ struct Win { Mode *parent_mode; /* mode which was active when showing the command prompt */ ViewEvent event; /* callbacks from view.[ch] */ char *lexer_name; /* corresponds to filename in lexers/ subdirectory */ + size_t horizon; /* max bytes to consider for syntax coloring before viewport */ Win *prev, *next; /* neighbouring windows */ }; |
