From b1ec60061623601ca6185a16d77c6c6c62135e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 12 Oct 2015 16:50:08 +0200 Subject: vis: remove regex based syntax highlighting --- view.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view.h') diff --git a/view.h b/view.h index 70b64d6..a9f7ec9 100644 --- a/view.h +++ b/view.h @@ -92,8 +92,8 @@ Filerange view_viewport_get(View*); bool view_viewport_up(View *view, int n); bool view_viewport_down(View *view, int n); /* associate a set of syntax highlighting rules to this window. */ -void view_syntax_set(View*, Syntax*); -Syntax *view_syntax_get(View*); +bool view_syntax_set(View*, const char *name); +const char *view_syntax_get(View*); void view_options_set(View*, enum UiOption options); enum UiOption view_options_get(View*); -- cgit v1.2.3