summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-05-06 16:44:59 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-05-06 16:44:59 -0500
commit1e4041359683fe1214049effb7e103162be8a059 (patch)
tree5796b6dffd779c6f30380d698338e3b15ce7ddaa /vimrc
parent4b02c31cc7e3b7be1762ad32f6a69ba6d8a43e19 (diff)
downloadconf-1e4041359683fe1214049effb7e103162be8a059.tar.gz
conf-1e4041359683fe1214049effb7e103162be8a059.zip
this regex doesn't need to be this complex, because of isfname and whatnot
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 7f4ddad..a890871 100644
--- a/vimrc
+++ b/vimrc
@@ -239,7 +239,7 @@ autocmd FileType perl setlocal errorformat=%f:%l:%m
autocmd FileType perl setlocal keywordprg=perldoc\ -f
" treat use lines as include lines (for tab completion, etc)
-autocmd FileType perl setlocal include=\\s*use\\s*\\zs[[:alnum:]_:]\\+\\ze;
+autocmd FileType perl setlocal include=\\s*use\\s*
autocmd FileType perl setlocal includeexpr=substitute(v:fname,'::','/','g').'.pm'
autocmd FileType perl exe "setlocal path=" . system("perl -e 'print join \",\", @INC;'") . ",lib"
" }}}