mcedit: use diff syntax highlighting for git commit messages

...when GIT_EDITOR=mcedit (closes MidnightCommander/mc#85).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
JJ Andresson 2016-01-03 20:54:05 +00:00 committed by Andrew Borodin
parent 08c2d4e276
commit 9ad896f5e7

View File

@ -45,7 +45,7 @@ include filehighlight.syntax
file ..\*\\.e$ Eiffel\sSource\sFile file ..\*\\.e$ Eiffel\sSource\sFile
include eiffel.syntax include eiffel.syntax
file ..\*\\.(diff|rej|patch)$ Diff\sOutput ^(diff|Index:)\s file ..\*\\.(diff|rej|patch)|COMMIT_EDITMSG$ Diff\sOutput ^(diff|Index:)\s
include diff.syntax include diff.syntax
file ..\*\\.lsm$ LSM\sFile file ..\*\\.lsm$ LSM\sFile