We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc19ddf commit 77c20dbCopy full SHA for 77c20db
autoload/composer/autoload.vim
@@ -47,8 +47,9 @@ function! s:find_file(fqn) abort
47
call s:throw('autoload.php not found. Run composer install.')
48
endif
49
50
+ let fqn = substitute(a:fqn, '^\', '', '')
51
let s = '$c = require("' . autoload . '"); echo $c->findFile($argv[1]);'
- let path = system('php -r ' . shellescape(s) . ' ' . shellescape(a:fqn))
52
+ let path = system('php -r ' . shellescape(s) . ' ' . shellescape(fqn))
53
54
if v:shell_error != 0
55
call s:throw('Command exited with code %d', v:shell_error)
0 commit comments