Improve patch file detection by adding a header rule. (#1942)

This commit is contained in:
Laszlo Gombos
2021-04-07 16:20:57 -04:00
committed by GitHub
parent 1f73f8587c
commit 9ed3525076

View File

@@ -1,7 +1,8 @@
filetype: patch
detect:
detect:
filename: "\\.(patch|diff)$"
header: "^diff"
rules:
- brightgreen: "^\\+.*"