dotfiles-pub/common/nano/syntax/patch.nanorc

15 lines
315 B
Plaintext
Raw Normal View History

2022-12-11 17:17:48 +00:00
## 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.*"