Date: Mon, 25 Feb 2002 20:39:52 -0800 (PST) From: Hendrik Scholz <hendrik@scholz.net> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/35333: send-pr(1) vim syntax highlighting support (patch) Message-ID: <200202260439.g1Q4dq449409@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 35333 >Category: bin >Synopsis: send-pr(1) vim syntax highlighting support (patch) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 25 20:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Hendrik Scholz >Release: 5.0 -current on x86 >Organization: private >Environment: FreeBSD deimos.raisdorf.net 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Tue Feb 19 12:17:09 EST 2002 hscholz@deimos.raisdorf.net:/usr/src/sys/i386/compile/DEIMOS5 i386 >Description: This patch adds vim syntax highlighting support to the send-pr(1) utility. It is quite simple and needs the syntax/send-pr.vim file for vim which I have send to the Vim team some minutes ago. Meanwhile you might grab the file at http://www.raisdorf.net/files/FreeBSD/send-pr.vim. It might be useful to add the vim line only if $EDITOR can handle it. >How-To-Repeat: >Fix: --- send-pr.sh.orig Tue Feb 26 15:26:26 2002 +++ send-pr.sh Tue Feb 26 15:27:01 2002 @@ -299,6 +299,8 @@ 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: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202260439.g1Q4dq449409>