mirror of
https://github.com/scopatz/nanorc
synced 2024-11-09 11:09:59 +01:00
bba53c3940
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
11 lines
242 B
Plaintext
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.*"
|