Skip to content

Commit

Permalink
let gf open module files even if the module name is used with a metho…
Browse files Browse the repository at this point in the history
…d name like in Foo::Bar->new
  • Loading branch information
Manni Heumann committed May 5, 2012
1 parent 3a14d5c commit 03cd74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/perl.vim
Expand Up @@ -30,7 +30,7 @@ endif
" Provided by Ned Konz <ned at bike-nomad dot com>
"---------------------------------------------
setlocal include=\\<\\(use\\\|require\\)\\>
setlocal includeexpr=substitute(substitute(v:fname,'::','/','g'),'$','.pm','')
setlocal includeexpr=substitute(substitute(substitute(v:fname,'::','/','g'),'->\*','',''),'$','.pm','')
setlocal define=[^A-Za-z_]

" The following line changes a global variable but is necessary to make
Expand Down

0 comments on commit 03cd74b

Please sign in to comment.