aboutsummaryrefslogtreecommitdiff
path: root/vis.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.h
parentb36ddb65334b4de406304786abfbde85b1e9a4e4 (diff)
downloadvis-29f8d2488cfe86678e65e73c58e36d7c48a0e11b.tar.gz
vis-29f8d2488cfe86678e65e73c58e36d7c48a0e11b.tar.xz
vis: consider :set horizon setting when syntax highlighting
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis.h b/vis.h
index 5e80ce8..132cc18 100644
--- a/vis.h
+++ b/vis.h
@@ -33,7 +33,7 @@ typedef struct {
void (*file_close)(Vis*, File*);
void (*win_open)(Vis*, Win*);
void (*win_close)(Vis*, Win*);
- void (*win_highlight)(Vis*, Win*);
+ void (*win_highlight)(Vis*, Win*, size_t horizon);
bool (*win_syntax)(Vis*, Win*, const char *syntax);
} VisEvent;