diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-07-19 17:20:18 +0200 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-07-19 17:20:18 +0200 |
| commit | d1de9912c028d265130a6fb163f48e76fee2aa5e (patch) | |
| tree | 5536790c9b735ff21a68cb83ed2aadba6ac23b67 | |
| parent | 9c4448ac4130be33683484ece64782c5ef121cd4 (diff) | |
| parent | 86872225186c363b7bf3a13a974795b51136509c (diff) | |
Merge remote-tracking branch 'lenormf/fix-git' into c++14
| -rw-r--r-- | rc/base/git.kak | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rc/base/git.kak b/rc/base/git.kak index b171df95..e0dfe992 100644 --- a/rc/base/git.kak +++ b/rc/base/git.kak @@ -4,8 +4,6 @@ hook global BufCreate .*(COMMIT_EDITMSG|MERGE_MSG) %{ hook -group git-commit-highlight global WinSetOption filetype=git-commit %{ add-highlighter group git-commit-highlight - add-highlighter -group git-commit-highlight regex "\`[^\n]{1,50}" 0:yellow - add-highlighter -group git-commit-highlight regex "\`[^\n]*\n\h*(?!#)([^\n]*)\n?" 1:default,red add-highlighter -group git-commit-highlight regex "^\h*#[^\n]*\n" 0:cyan,default add-highlighter -group git-commit-highlight regex "\b(?:(modified)|(deleted)|(new file)|(renamed|copied)):([^\n]*)\n" 1:yellow 2:red 3:green 4:blue 5:magenta add-highlighter -group git-commit-highlight ref diff # highlight potential diffs from the -v option |
