diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-09-11 19:37:34 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-09-11 19:37:34 +0100 |
| commit | baa9dd247461a024a3eca252de6b3782d72ec4a3 (patch) | |
| tree | 70f369c1bd7ca2eec3bba1fd399e8b7f398b3c06 | |
| parent | 827a77539af80d7ffa314d13c4cc4e7927709a55 (diff) | |
Fix git commit message highlighting
| -rw-r--r-- | rc/git.kak | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ hook global BufCreate .*COMMIT_EDITMSG %{ hook global WinSetOption filetype=git-commit %{ addhl group git-commit-highlight - addhl -group git-commit-highlight regex "#[^\n]*\n" 0:cyan,default + addhl -group git-commit-highlight regex "^\h*#[^\n]*\n" 0:cyan,default addhl -group git-commit-highlight regex "\<(?:(modified)|(deleted)|(new file)|(renamed)):([^\n]*)\n" 1:yellow 2:red 3:green 4:blue 5:magenta } |
