diff options
author | June McEnroe <june@causal.agency> | 2020-03-30 19:22:37 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-30 19:22:37 -0400 |
commit | 05b59f5abea1cbc1932f50ffdd7ad5531576caba (patch) | |
tree | 647eba58f78119e4226afa338cb89d506006c16f | |
parent | Remove .psqlrc (diff) | |
download | src-05b59f5abea1cbc1932f50ffdd7ad5531576caba.tar.gz src-05b59f5abea1cbc1932f50ffdd7ad5531576caba.zip |
Highlight diff lines without lading space as Keyword
Diffstat (limited to '')
-rw-r--r-- | bin/hi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 = "^[+].*" }, |