vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 8cbff19d16147a5d161d5f8e3cc87035e5b9841d parent e3f7cc05e952b1f14c5311f32e47ab79d9721491 Author: noname <noname@inventati.org> Date: Mon, 13 Apr 2015 19:32:36 +0000 Highlight null directive. Diffstat:
| M | config.def.h | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.def.h b/config.def.h @@ -883,7 +883,7 @@ static Color colors[] = { } #define SYNTAX_C_PREPROCESSOR { \ - "(^#[\\t ]*(define|include(_next)?|(un|ifn?)def|endif|el(if|se)|if|warning|error|pragma))", \ + "(^#[\\t ]*(define|include(_next)?|(un|ifn?)def|endif|el(if|se)|if|warning|error|pragma)?)", \ &colors[COLOR_PREPROCESSOR], \ }