File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,12 @@ function! s:ComposerInstallFunc(arg)
55
55
endif
56
56
endfunction
57
57
58
- function ! ComposerKnowWhereCurrentFileIs ()
59
- let l : currentWord = expand (' <cword>' )
60
- let l: command = " grep " . l : currentWord . " ./vendor/composer -R | awk '{print $6}' | awk -F\\ ' '{print $2}'"
58
+ function ! g: ComposerKnowWhereCurrentFileIs ()
59
+ let g : currentWord = expand (' <cword>' )
60
+ let l: command = " grep " . g : currentWord . " ./vendor/composer -R | awk '{print $6}' | awk -F\\ ' '{print $2}'"
61
61
let l: commandFileFound = l: command . ' | wc -l'
62
- let l : numberOfResults = system (l: commandFileFound )
63
- if l : numberOfResults == 1
62
+ let g : numberOfResults = system (l: commandFileFound )
63
+ if g : numberOfResults == 1
64
64
let l: fileName = system (l: command )
65
65
let l: openFileCommand = ' tabe .' . l: fileName
66
66
exec l: openFileCommand
You can’t perform that action at this time.
0 commit comments