From ebe160fe8ed0ef0404dede604141cae6a1646463 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 7 Feb 2019 00:33:17 -0500 Subject: Use subexpression highlight for system include paths --- bin/hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hi.c b/bin/hi.c index 21c171db..5acca9b2 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -53,7 +53,7 @@ static const struct Syntax CSyntax[] = { { Keyword, .subexp = 2, .pattern = CKB"(break|continue|goto|return)"CKB }, { Keyword, .subexp = 2, .pattern = CKB"(case|default)"CKB }, { Macro, .pattern = "^#.*" }, - { String, .pattern = "<[^[:blank:]=]*>" }, + { String, .pattern = "^#include (<.*>)", .subexp = 1 }, { String, .pattern = "[LUu]?'([^']|\\\\')*'", }, { String, .pattern = "([LUu]|u8)?\"([^\"]|\\\\\")*\"", }, { Comment, .pattern = "//.*", }, -- cgit 1.4.1