From 6414b92c21ed234caf14372461a0fa331df2e163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 8 Nov 2015 14:14:16 +0100 Subject: Delete now obsolete syntax.h --- view.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'view.c') diff --git a/view.c b/view.c index 2335a2a..bf6fca6 100644 --- a/view.c +++ b/view.c @@ -21,12 +21,25 @@ #include #include "vis.h" #include "view.h" -#include "syntax.h" #include "text.h" #include "text-motions.h" #include "text-util.h" #include "util.h" +typedef struct { + char *symbol; + int style; +} SyntaxSymbol; + +enum { + SYNTAX_SYMBOL_SPACE, + SYNTAX_SYMBOL_TAB, + SYNTAX_SYMBOL_TAB_FILL, + SYNTAX_SYMBOL_EOL, + SYNTAX_SYMBOL_EOF, + SYNTAX_SYMBOL_LAST, +}; + struct Selection { Mark anchor; /* position where the selection was created */ Mark cursor; /* other selection endpoint where it changes */ -- cgit v1.2.3