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
commit6e07d132cd9899ced67edd80a4cee737aca0a196 (patch)
tree90da302f5ecf6b7be46bb6f29c0e096252dcdeb7 /bin
parentRemove .psqlrc (diff)
downloadsrc-6e07d132cd9899ced67edd80a4cee737aca0a196.tar.gz
src-6e07d132cd9899ced67edd80a4cee737aca0a196.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 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 = "^[+].*" },