1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-16 22:24:14 +01:00
nanorc/patch.nanorc
ThomasR bba53c3940 Rename syntax definitions
Duplicate syntax definition names may cause problems.
Since nano comes with predefined all-lowercase syntax definitions,
we use uppercase letters everywhere to reduce the risk of future conflicts
2016-03-02 20:51:19 +01:00

11 lines
242 B
Plaintext

## Here is an example for patch files.
##
syntax "Patch" "\.(patch|diff)$"
color brightgreen "^\+.*"
color green "^\+\+\+.*"
color brightblue "^ .*"
color brightred "^-.*"
color red "^---.*"
color brightyellow "^@@.*"
color magenta "^diff.*"