Skip to content

Commit e5b73ec

Browse files
committed
enh(patch): Add diff header pattern
1 parent ff189e2 commit e5b73ec

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)