mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
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
10 lines
242 B
Text
10 lines
242 B
Text
## 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.*"
|