Mercurial > repos > other > linux
view nanorc.d/patch.nanorc @ 153:078d269af1ca
Remove "quiet" in Nano since it is noisy
Versions have updated enough that the server isn't noisy
and the desktop *is* noisy because "quiet" has gone!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 11 Jan 2022 21:01:39 +0000 |
parents | 03b4573837b5 |
children |
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 take the default text colour. # 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="^$"