made the pack completely portable and wrote relevent bat files to go with it
This commit is contained in:
28
gitportable/usr/share/nano/patch.nanorc
Normal file
28
gitportable/usr/share/nano/patch.nanorc
Normal file
@@ -0,0 +1,28 @@
|
||||
## Syntax highlighting for patch and diff files.
|
||||
|
||||
## Original author: Mike Frysinger
|
||||
|
||||
syntax patch "\.(patch|diff|debdiff|rej)$"
|
||||
magic "diff output"
|
||||
# There is no official support for comments in patch files.
|
||||
comment ""
|
||||
|
||||
# Added lines.
|
||||
color brightgreen "^\+.*"
|
||||
# Show trailing whitespace only on added lines.
|
||||
color ,green "[[:space:]]+$"
|
||||
# Context lines.
|
||||
color brightblue "^ .*"
|
||||
# Deleted lines.
|
||||
color brightred "^-.*"
|
||||
|
||||
# Header lines.
|
||||
color magenta "^(Index:|diff)[[:blank:]].*"
|
||||
# File names and dates.
|
||||
color red "^---.*"
|
||||
color green "^\+\+\+.*"
|
||||
# Line numbers.
|
||||
color brightyellow "^@@.*"
|
||||
|
||||
# Statistics.
|
||||
color cyan start="^---$" end="^$"
|
||||
Reference in New Issue
Block a user