summaryrefslogtreecommitdiffstats
path: root/vim/ftplugin/perl.vim
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-01-04 22:37:49 -0500
committerdoy <doy@tozt.net>2009-01-04 22:37:49 -0500
commit40c7695bbbe87610f12d017fb277989bab516285 (patch)
tree95357d04570ceeb212491ae69785e6750dc5cf1f /vim/ftplugin/perl.vim
parent98118aebeff0ab1f35f81904b0ba5854f4fbc002 (diff)
downloadconf-40c7695bbbe87610f12d017fb277989bab516285.tar.gz
conf-40c7695bbbe87610f12d017fb277989bab516285.zip
the perl ftplugin packaged with vim already does this
Diffstat (limited to 'vim/ftplugin/perl.vim')
-rw-r--r--vim/ftplugin/perl.vim3
1 files changed, 0 insertions, 3 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index 3fa6eaf..bbaaafe 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -23,6 +23,3 @@ vmap <silent>K :call Help(1, [':'], '<SID>perldoc')<CR>
" XXX: it would be really sweet to make gf work with this, but unfortunately
" that checks the filename directly first, so things like 'use Moose' bring
" up the $LIB/Moose/ directory, since it exists, before evaluating includeexpr
-setlocal include=\\s*use\\s*
-setlocal includeexpr=substitute(v:fname,'::','/','g').'.pm'
-exe "setlocal path=" . system("perl -e 'print join \",\", @INC;'") . ",lib"