summary refs log tree commit diff
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
parentRemove .psqlrc (diff)
downloadsrc-6e07d132cd9899ced67edd80a4cee737aca0a196.tar.gz
src-6e07d132cd9899ced67edd80a4cee737aca0a196.zip
Highlight diff lines without lading space as Keyword
-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 = "^[+].*" },
p;follow=1'>Allow cd host:path over sshJune McEnroe 2020-10-07Use mandoc -T utf8 for text.June McEnroe 2020-09-20Add The Awakened KingdomJune McEnroe 2020-09-12Move /opt/local back, cheat port select to use system manJune McEnroe 2020-09-12Move /opt/local behind /usr againJune McEnroe 2020-09-12Enable toc in cgit renderings of man pagesJune McEnroe 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe