mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-23 09:17:08 +09:00
Add converted syntax files
This commit is contained in:
13
runtime/syntax/patch.yaml
Normal file
13
runtime/syntax/patch.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
filetype: patch
|
||||
|
||||
detect:
|
||||
filename: "\\.(patch|diff)$"
|
||||
|
||||
rules:
|
||||
- brightgreen: "^\\+.*"
|
||||
- green: "^\\+\\+\\+.*"
|
||||
- brightblue: "^ .*"
|
||||
- brightred: "^-.*"
|
||||
- red: "^---.*"
|
||||
- brightyellow: "^@@.*"
|
||||
- magenta: "^diff.*"
|
||||
Reference in New Issue
Block a user