From 6e07d132cd9899ced67edd80a4cee737aca0a196 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 30 Mar 2020 19:22:37 -0400 Subject: Highlight diff lines without lading space as Keyword --- bin/hi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/hi.c b/bin/hi.c index 3e12470c..b4b4903b 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -129,6 +129,7 @@ static const struct Syntax CSyntax[] = { // diff syntax {{{ static const struct Syntax DiffSyntax[] = { + { Keyword, .pattern = "^[^ ].*" }, { Comment, .pattern = "^@@.*" }, { DiffOld, .pattern = "^[-].*" }, { DiffNew, .pattern = "^[+].*" }, -- cgit 1.4.1