Skip to content

Commit 9e1bf81

Browse files
authored
Merge pull request #41 from davidhcefx/diff-header
enh(patch): Add diff header pattern
2 parents 9553a27 + e5b73ec commit 9e1bf81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

patch.nanorc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Here is an example for patch files.
22
##
33
syntax "Patch" "\.(patch|diff)$"
4+
header "^diff\>"
45
magic "diff output"
56
# You can't add comments in patch files.
67
comment ""

0 commit comments

Comments
 (0)