Skip to content

Commit 4f44fe8

Browse files
author
Simone
committed
Update vim-composer.vim
1 parent 22bfc5f commit 4f44fe8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

plugin/vim-composer.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,8 @@ function! s:ComposerInstallFunc(arg)
5454
exe "call ".g:composer_install_callback."()"
5555
endif
5656
endfunction
57+
58+
function! s:ComposerKnowWhereCurrentFileIs()
59+
let l:currentWord = explode('<cword>')
60+
exec "!grep ClassNameToFind ../onebip/vendor/composer -R | awk '{print $6}' | awk -F\' '{print $2}'"
61+
endfunction

0 commit comments

Comments
 (0)