mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-08 08:50:57 +00:00
Improve patch file detection by adding a header rule. (#1942)
This commit is contained in:
parent
1f73f8587c
commit
9ed3525076
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
|||
filetype: patch
|
||||
|
||||
detect:
|
||||
detect:
|
||||
filename: "\\.(patch|diff)$"
|
||||
header: "^diff"
|
||||
|
||||
rules:
|
||||
- brightgreen: "^\\+.*"
|
||||
|
|
|
|||
Loading…
Reference in a new issue