]> git.lizzy.rs Git - micro.git/commitdiff
Detect more file types for git syntax highlighting (#2330)
authorAndrew <48300131+andrewmjordan@users.noreply.github.com>
Sun, 9 Jan 2022 03:51:15 +0000 (19:51 -0800)
committerGitHub <noreply@github.com>
Sun, 9 Jan 2022 03:51:15 +0000 (19:51 -0800)
* Update git-commit.yaml

This will enable syntax highlighting for merge commit messages

* Update git-commit.yaml

runtime/syntax/git-commit.yaml

index 9f8ef0d9dfb077d6037bd0ff35d606b1d559693f..07a71c26e0af5a5412cb169f9884964edafdf0e4 100644 (file)
@@ -1,7 +1,7 @@
 filetype: git-commit
 
 detect:
-    filename: "^(.*[\\/])?(COMMIT_EDITMSG|TAG_EDITMSG)$"
+    filename: "^(.*[\\/])?(COMMIT_EDITMSG|TAG_EDITMSG|MERGE_MSG|git-rebase-todo)$"
 
 rules:
     # File changes