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 | 6e07d132cd9899ced67edd80a4cee737aca0a196 (patch) | |
tree | 90da302f5ecf6b7be46bb6f29c0e096252dcdeb7 /bin | |
parent | Remove .psqlrc (diff) | |
download | src-6e07d132cd9899ced67edd80a4cee737aca0a196.tar.gz src-6e07d132cd9899ced67edd80a4cee737aca0a196.zip |
Highlight diff lines without lading space as Keyword
Diffstat (limited to 'bin')
-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 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 = "^[+].*" }, |