mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 14:40:20 +09:00
Improve patch file detection by adding a header rule. (#1942)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
filetype: patch
|
||||
|
||||
detect:
|
||||
detect:
|
||||
filename: "\\.(patch|diff)$"
|
||||
header: "^diff"
|
||||
|
||||
rules:
|
||||
- brightgreen: "^\\+.*"
|
||||
|
||||
Reference in New Issue
Block a user