From 29f8d2488cfe86678e65e73c58e36d7c48a0e11b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 21 May 2016 12:29:59 +0200 Subject: vis: consider :set horizon setting when syntax highlighting --- vis-core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vis-core.h') 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 */ }; -- cgit v1.2.3