Skip to content

Loading…

Add =encoding to the POD syntax highlighting #105

Merged
merged 1 commit into from

2 participants

@shlomif

Hi. This adds syntax-highlighting the =encoding statement to syntax/pod.vim .

@petdance petdance merged commit f712138 into vim-perl:master
@petdance

Merged. Thanks.

@shlomif

Thanks for merging it so quickly, and - you're welcome.

xoxo, Shlomi Fish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 22, 2013
  1. @shlomif
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0 syntax/pod.vim
View
1 syntax/pod.vim
@@ -28,6 +28,7 @@ elseif exists("b:current_syntax")
endif
" POD commands
+syn match podCommand "^=encoding" nextgroup=podCmdText contains=@NoSpell
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
Something went wrong with that request. Please try again.