From 05b59f5abea1cbc1932f50ffdd7ad5531576caba Mon Sep 17 00:00:00 2001 From: "C. 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(+) diff --git a/bin/hi.c b/bin/hi.c index e29fa48e..488961bf 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