aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/perl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/ftplugin/perl.vim')
-rw-r--r--vim/after/ftplugin/perl.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/after/ftplugin/perl.vim b/vim/after/ftplugin/perl.vim
index c17ebb56..dd5285e3 100644
--- a/vim/after/ftplugin/perl.vim
+++ b/vim/after/ftplugin/perl.vim
@@ -12,6 +12,11 @@ let b:undo_ftplugin = b:undo_ftplugin
\ . '|setlocal errorformat<'
\ . '|setlocal makeprg<'
+" Add angle brackets to pairs of matched characters for q<...>
+setlocal matchpairs+=<:>
+let b:undo_ftplugin = b:undo_ftplugin
+ \ . '|setlocal matchpairs<'
+
" Stop here if the user doesn't want ftplugin mappings
if exists('g:no_plugin_maps') || exists('g:no_perl_maps')
finish