mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-29 21:36:27 -04:00
- Revised code example
- Added new lexers and revised existing
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
filetype: diff
|
||||
|
||||
detect:
|
||||
filename: "\\.diff$"
|
||||
header: "^((---.*)|(\\+\\+\\+.*))"
|
||||
|
||||
rules:
|
||||
- statement: "(^\\+\\+\\+.*)"
|
||||
- statement: "(^---.*)"
|
||||
- type: "(^@@.*)"
|
||||
- constant.number: "(^\\+.*)"
|
||||
- preproc: "(^-.*)"
|
||||
Reference in New Issue
Block a user