emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding git-commit highlight mode?


From: Konstantin Kharlamov
Subject: Re: Adding git-commit highlight mode?
Date: Thu, 02 Jan 2025 22:19:06 +0300
User-agent: Evolution 3.54.2

On Thu, 2025-01-02 at 11:17 -0800, Jim Porter wrote:
> On 1/2/2025 10:30 AM, Konstantin Kharlamov wrote:
> > But Emacs seems to be the only widely popular editor that still
> > doesn't
> > provide OOTB at least syntax highlight for git-commit format. So,
> > does
> > anyone have opposition to adding a major mode that would be bound
> > to
> > filenames like `COMMIT_EDITMSG` and others, and would provide the
> > aforementioned highlight?
> 
> For what it's worth, I wrote a very simple package to do this for 
> myself, since I don't use Magit. (I'm just so used to the Git command
> line that I've never taken the time to mess with Magit.)
> 
> https://github.com/jimporter/git-command-modes/
> 
> I'm happy to assign copyright to the FSF for this or to upstream this
> into the Emacs tree, or whatever people would like here.

Sounds great, I see you even got tests there! And you're the only
contributor, so yeah, I presume it would work just fine.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]