Skip to content

Commit 9f781f1

Browse files
author
Simone
committed
Fixed project path folder
l:fileName always results as /path/to/file.php path. 'tabe .' transform openFileCommand in tabe ./path/to/file.php or rather, ... current folder
1 parent 1172796 commit 9f781f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vim-composer.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function! ComposerKnowWhereCurrentFileIs()
6262
let l:numberOfResults = system(l:commandFileFound)
6363
if l:numberOfResults == 1
6464
let l:fileName = system(l:command)
65-
let l:openFileCommand = 'tabe ' g:project_path . l:fileName
65+
let l:openFileCommand = 'tabe .' . l:fileName
6666
exec l:openFileCommand
6767
else
6868
echo "No unique file found in composer's generated files"

0 commit comments

Comments
 (0)