aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2005-10-24 01:36:16 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2005-10-24 01:36:16 +0000
commit9758b8d80200d31309a42ea21f3441b4ab6ec374 (patch)
tree4101f7c0a48e23a56d83da7a3efe4e957492f571 /gnu
parentbbf719c8ba7d4bef92fcffba59a3e06c623c7a0b (diff)
downloadsrc-9758b8d80200d31309a42ea21f3441b4ab6ec374.tar.gz
src-9758b8d80200d31309a42ea21f3441b4ab6ec374.zip
Add vim syntax highlighting support to the send-pr(1) utility.
PR: 35333 Submitted by: Hendrik Scholz <hendrik@scholz.net>
Notes
Notes: svn path=/head/; revision=151599
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/send-pr/send-pr.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/send-pr/send-pr.sh b/gnu/usr.bin/send-pr/send-pr.sh
index 594c40a9c65d..4ee7483d6245 100644
--- a/gnu/usr.bin/send-pr/send-pr.sh
+++ b/gnu/usr.bin/send-pr/send-pr.sh
@@ -300,6 +300,8 @@ else
for file in $TEMP $REF ; do
cat > $file << '__EOF__'
SEND-PR: -*- send-pr -*-
+SEND-PR: vim: syntax=send-pr (needed for vim syntax highlighting)
+SEND-PR:
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `<' and `>').
SEND-PR: