From 754b1cec7a39723b415ee76e797e587a7b5054dc Mon Sep 17 00:00:00 2001 From: "David B. Lamkins" Date: Tue, 19 Apr 2016 22:51:29 +0200 Subject: vis: add :set horizon option Can be used to specify the number of bytes before the visible area to consider for syntax highlighting. Defaults to 32K for now, whereas before it was 16K. --- view.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view.h') diff --git a/view.h b/view.h index 14f01d3..8460116 100644 --- a/view.h +++ b/view.h @@ -100,6 +100,8 @@ void view_options_set(View*, enum UiOption options); enum UiOption view_options_get(View*); void view_colorcolumn_set(View*, int col); int view_colorcolumn_get(View*); +void view_horizon_set(View*, size_t bytes); +size_t view_horizon_get(View*); /* A view can manage multiple cursors, one of which (the main cursor) is always * placed within the visible viewport. All functions named view_cursor_* operate -- cgit v1.2.3