summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-30 19:22:37 -0400
committerJune McEnroe <june@causal.agency>2020-03-30 19:22:37 -0400
commit05b59f5abea1cbc1932f50ffdd7ad5531576caba (patch)
tree647eba58f78119e4226afa338cb89d506006c16f /bin
parentRemove .psqlrc (diff)
downloadsrc-05b59f5abea1cbc1932f50ffdd7ad5531576caba.tar.gz
src-05b59f5abea1cbc1932f50ffdd7ad5531576caba.zip
Highlight diff lines without lading space as Keyword
Diffstat (limited to 'bin')
-rw-r--r--bin/hi.c1
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 = "^[+].*" },