mirror of https://github.com/scopatz/nanorc
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
315 B
Plaintext
15 lines
315 B
Plaintext
## Here is an example for patch files.
|
|
##
|
|
syntax "Patch" "\.(patch|diff)$"
|
|
magic "diff output"
|
|
# You can't add comments in patch files.
|
|
comment ""
|
|
|
|
color brightgreen "^\+.*"
|
|
color green "^\+\+\+.*"
|
|
color brightblue "^ .*"
|
|
color brightred "^-.*"
|
|
color red "^---.*"
|
|
color brightyellow "^@@.*"
|
|
color magenta "^diff.*"
|