smol/doc/syntax/patch.nanorc

12 lines
267 B
Plaintext

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