Mercurial > repos > other > linux
view nanorc.d/patch.nanorc @ 116:d2c73b0b5c36
Add a combining underline
Used (imperfectly) in https://twitter.com/IBBoard/status/1004067517751549957
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 09 Jul 2018 20:08:20 +0100 |
parents | 5f2c5800fa8a |
children | 03b4573837b5 |
line wrap: on
line source
## Here is an example for patch files. syntax "patch" "\.(patch|diff|debdiff)$" magic "diff output" # There is no official support for comments in patch files. comment "" # Added lines. color green "^\+.*" # Show trailing whitespace only on added lines. color ,green "[[:space:]]+$" # Context lines. color black "^ .*" # Deleted lines. color red "^-.*" # Header lines. color brightblue "^(Index:|index|diff)[[:blank:]].*" # File names and dates. color red "^---.*" color green "^\+\+\+.*" # Line numbers. color magenta "^@@.*" # Statistics. color cyan start="^---$" end="^$"