Skip to content

Commit

Permalink
Merge pull request #2 from DarwinAwardWinner/master
Browse files Browse the repository at this point in the history
Improve font-locking of first line
  • Loading branch information
rafl committed Mar 11, 2012
2 parents 9bfd1cf + 7ecc8e6 commit 0bcbffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-commit.el
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ default comments in git commit messages"
(2 'git-commit-comment-file-face))
("^#.*$"
(0 'git-commit-comment-face))
("\\`\\(.\\{,50\\}\\)\\(.*?\\)\n\\(.*\\)$"
("\\`\\(?:\\(?:[[:space:]]*\\|#.*\\)\n\\)*\\(.\\{,50\\}\\)\\(.*?\\)\\(?:\n\\(.*\\)\\)?$"
(1 'git-commit-summary-face)
(2 'git-commit-overlong-summary-face)
(3 'git-commit-nonempty-second-line-face))
Expand Down

0 comments on commit 0bcbffd

Please sign in to comment.