zdharma-continuum / fast-syntax-highlighting

Feature-rich syntax highlighting for ZSH
BSD 3-Clause "New" or "Revised" License
1.06k stars 76 forks source link

Add '--message' to git commit syntax highlighting #57

Closed Ultimator14 closed 1 year ago

Ultimator14 commented 1 year ago

Description

Git supports adding a message to a commit via git commit --message. Although the man page only mentions -m "mymessage" and --message="mymessage", omitting the = sign also works. However git commit --message "mymessge" gives wrong highlighting (see issue).

Related Issue(s)

Fixes zdharma-continuum/fast-syntax-highlighting#47

Types of changes

Checklist: