aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-05-21 12:29:59 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-05-22 00:05:30 +0200
commit29f8d2488cfe86678e65e73c58e36d7c48a0e11b (patch)
treebc58ec4a206c1a5d393a67837acb5ea1cce02193 /vis-core.h
parentb36ddb65334b4de406304786abfbde85b1e9a4e4 (diff)
downloadvis-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis-core.h b/vis-core.h
index 6d463df..74de5a1 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -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 */
};