summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-05-06 15:37:09 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-05-06 15:37:09 -0500
commit4b02c31cc7e3b7be1762ad32f6a69ba6d8a43e19 (patch)
treec00869e32a99506a357df3a1ef2f9de29dc17fd4 /vimrc
parent7d34224dd2864c4b58f894c22af780dbaadca522 (diff)
downloadconf-4b02c31cc7e3b7be1762ad32f6a69ba6d8a43e19.tar.gz
conf-4b02c31cc7e3b7be1762ad32f6a69ba6d8a43e19.zip
add lib to the search path for perl files
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 1f646eb..7f4ddad 100644
--- a/vimrc
+++ b/vimrc
@@ -241,7 +241,7 @@ 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 includeexpr=substitute(v:fname,'::','/','g').'.pm'
-autocmd FileType perl exe "setlocal path=" . system("perl -e 'print join \",\", @INC;'")
+autocmd FileType perl exe "setlocal path=" . system("perl -e 'print join \",\", @INC;'") . ",lib"
" }}}
" Latex {{{
" :make converts to pdf