[MacPorts] CommitMessages modified

MacPorts noreply at macports.org
Tue Jan 24 20:11:32 UTC 2017


Page "CommitMessages" was changed by mkae
Diff URL: <https://trac.macports.org/wiki/CommitMessages?action=diff&version=22>
Revision 22
Comment: COMMIT_EDITMSG ensures that coloring happens only for got commit messages (Thanks, Rainer!)
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: CommitMessages
=========================================================================
--- CommitMessages (version: 21)
+++ CommitMessages (version: 22)
@@ -101,7 +101,7 @@
 filetype plugin indent on
 hi def link gitcommitOverflow Error
 
-autocmd BufEnter *
+autocmd BufEnter COMMIT_EDITMSG
    \ if &textwidth > 0 |
        \ exec 'match Overlength /\%>' . &textwidth . 'v.\+/' |
    \ endif
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/CommitMessages>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'CommitMessages' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list