init
This commit is contained in:
14
micro/syntax/patch.yaml
Normal file
14
micro/syntax/patch.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
filetype: patch
|
||||
|
||||
detect:
|
||||
filename: "\\.(patch|diff)$"
|
||||
header: "^diff"
|
||||
|
||||
rules:
|
||||
- brightgreen: "^\\+.*"
|
||||
- green: "^\\+\\+\\+.*"
|
||||
- brightblue: "^ .*"
|
||||
- brightred: "^-.*"
|
||||
- red: "^---.*"
|
||||
- brightyellow: "^@@.*"
|
||||
- magenta: "^diff.*"
|
||||
Reference in New Issue
Block a user