summaryrefslogtreecommitdiff
path: root/runtime/syntax/pod.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-08 22:17:29 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-08 22:17:29 +0000
commit97409f12619b8b2af6237327fdc17ed53037b4f2 (patch)
tree2e658b1c741d76751d4080f7b8da4067c1f7a0e1 /runtime/syntax/pod.vim
parent8e735a17f8e298b4f628be6919097888caf139ac (diff)
downloadvim-97409f12619b8b2af6237327fdc17ed53037b4f2.zip
updated for version 7.0105
Diffstat (limited to 'runtime/syntax/pod.vim')
-rw-r--r--runtime/syntax/pod.vim40
1 files changed, 20 insertions, 20 deletions
diff --git a/runtime/syntax/pod.vim b/runtime/syntax/pod.vim
index 60f335365..38fa18f3f 100644
--- a/runtime/syntax/pod.vim
+++ b/runtime/syntax/pod.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: Perl POD format
" Maintainer: Scott Bigham <dsb@killerbunnies.org>
-" Last Change: 2004 Oct 05
+" Last Change: 2005 Jul 05
" To add embedded POD documentation highlighting to your syntax file, add
" the commands:
@@ -25,38 +25,38 @@ elseif exists("b:current_syntax")
endif
" POD commands
-syn match podCommand "^=head[1234]" nextgroup=podCmdText
-syn match podCommand "^=item" nextgroup=podCmdText
-syn match podCommand "^=over" nextgroup=podOverIndent skipwhite
-syn match podCommand "^=back"
-syn match podCommand "^=cut"
-syn match podCommand "^=pod"
-syn match podCommand "^=for" nextgroup=podForKeywd skipwhite
-syn match podCommand "^=begin" nextgroup=podForKeywd skipwhite
-syn match podCommand "^=end" nextgroup=podForKeywd skipwhite
+syn match podCommand "^=head[1234]" nextgroup=podCmdText contains=@NoSpell
+syn match podCommand "^=item" nextgroup=podCmdText contains=@NoSpell
+syn match podCommand "^=over" nextgroup=podOverIndent skipwhite contains=@NoSpell
+syn match podCommand "^=back" contains=@NoSpell
+syn match podCommand "^=cut" contains=@NoSpell
+syn match podCommand "^=pod" contains=@NoSpell
+syn match podCommand "^=for" nextgroup=podForKeywd skipwhite contains=@NoSpell
+syn match podCommand "^=begin" nextgroup=podForKeywd skipwhite contains=@NoSpell
+syn match podCommand "^=end" nextgroup=podForKeywd skipwhite contains=@NoSpell
" Text of a =head1, =head2 or =item command
-syn match podCmdText ".*$" contained contains=podFormat
+syn match podCmdText ".*$" contained contains=podFormat,@NoSpell
" Indent amount of =over command
-syn match podOverIndent "\d\+" contained
+syn match podOverIndent "\d\+" contained contains=@NoSpell
" Formatter identifier keyword for =for, =begin and =end commands
-syn match podForKeywd "\S\+" contained
+syn match podForKeywd "\S\+" contained contains=@NoSpell
" An indented line, to be displayed verbatim
-syn match podVerbatimLine "^\s.*$"
+syn match podVerbatimLine "^\s.*$" contains=@NoSpell
" Inline textual items handled specially by POD
-syn match podSpecial "\(\<\|&\)\I\i*\(::\I\i*\)*([^)]*)"
-syn match podSpecial "[$@%]\I\i*\(::\I\i*\)*\>"
+syn match podSpecial "\(\<\|&\)\I\i*\(::\I\i*\)*([^)]*)" contains=@NoSpell
+syn match podSpecial "[$@%]\I\i*\(::\I\i*\)*\>" contains=@NoSpell
" Special formatting sequences
-syn region podFormat start="[IBSCLFX]<[^<]"me=e-1 end=">" oneline contains=podFormat
+syn region podFormat start="[IBSCLFX]<[^<]"me=e-1 end=">" oneline contains=podFormat,@NoSpell
syn match podFormat "Z<>"
-syn match podFormat "E<\(\d\+\|\I\i*\)>" contains=podEscape,podEscape2
-syn match podEscape "\I\i*>"me=e-1 contained
-syn match podEscape2 "\d\+>"me=e-1 contained
+syn match podFormat "E<\(\d\+\|\I\i*\)>" contains=podEscape,podEscape2,@NoSpell
+syn match podEscape "\I\i*>"me=e-1 contained contains=@NoSpell
+syn match podEscape2 "\d\+>"me=e-1 contained contains=@NoSpell
" Define the default highlighting.
" For version 5.7 and earlier: only when not done already