ports/71915: Update vim's pod.vim syntax file to reflect current POD functionality

Christopher Nehren apeiron at comcast.net
Sun Sep 19 19:30:19 UTC 2004


>Number:         71915
>Category:       ports
>Synopsis:       Update vim's pod.vim syntax file to reflect current POD functionality
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 19 19:30:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Nehren
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD prophecy.dyndns.org 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Sat Aug 28 15:52:52 EDT 2004 root at prophecy.dyndns.org:/usr/src/sys/i386/compile/PROPHECY i386


	
>Description:
vim's pod.vim syntax highlighting file supports the old-style =head directives,
in that it only supports =head1 and =head2. However, recent developments in POD
translators also support =head{3,4}. 
>How-To-Repeat:
Open a POD file in vim, insert a =head{3,4} directive, notice the lack of
highlighting.
>Fix:

--- /usr/local/share/vim/vim63/syntax/pod.vim	Sun Sep 19 15:24:58 2004
+++ pod.vim	Sun Sep 19 15:25:09 2004
@@ -25,7 +25,7 @@
 endif
 
 " POD commands
-syn match podCommand	"^=head[12]"	nextgroup=podCmdText
+syn match podCommand	"^=head[1234]"	nextgroup=podCmdText
 syn match podCommand	"^=item"	nextgroup=podCmdText
 syn match podCommand	"^=over"	nextgroup=podOverIndent skipwhite
 syn match podCommand	"^=back"

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list