0

I'd like to use lab hub wrapper for handling mr/issues of my own custom gitlab server. When I open a pull-request using hub (github) it's works fine the git-commit-mode from magit, syntax highlight working and C-c C-c / C-c C-k keybindings for commit/abort.

However for lab doens't works. Seems that I need setup something in my config to the MERGE_EDITMSG buffer can work. After opening a mr https://i.stack.imgur.com/vARyL.png using lab mr create. I cannot abort easily and there is no syntax highlight too. To complete the commit it's necessary just C-x C-c, it's ok, but would be better to be consistent with the rest o magit stuff.

Reddit thread: https://www.reddit.com/r/emacs/comments/b2kfrw/support_emacs_magit_lab/

1 Answer 1

1

As discussed in earlier versions of this answer (use the history feature if you are into that sort of thing) the value of git-commit-filename-regexp had to be adjusted to also match MERGEREQ_EDITMSG.

I have done that now, update git-commit to get the new regexp.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.