Skip to content

Commit

Permalink
Fix match_skip for Perl files
Browse files Browse the repository at this point in the history
  • Loading branch information
hoelzro committed May 11, 2013
1 parent 0569844 commit 720e9e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ftplugin/perl.vim
Expand Up @@ -3,7 +3,7 @@
" Maintainer: vim-perl <vim-perl@googlegroups.com>
" Homepage: http://github.com/vim-perl/vim-perl
" Bugs/requests: http://github.com/vim-perl/vim-perl/issues
" Last Change: 2009-08-14
" Last Change: 2013-05-11

if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1
Expand Down Expand Up @@ -79,5 +79,8 @@ endif
let b:undo_ftplugin = "setlocal fo< com< cms< inc< inex< def< isf< kp< path<" .
\ " | unlet! b:browsefilter"

" proper matching for matchit plugin
let b:match_skip = 's:comment\|string\|perlQQ\|perlShellCommand\|perlHereDoc\|perlSubstitution\|perlTranslation\|perlMatch\|perlFormatField'

" Restore the saved compatibility options.
let &cpo = s:save_cpo

0 comments on commit 720e9e2

Please sign in to comment.