Skip to content

Commit 6eeb33f

Browse files
author
Gianluca Arbezzano
committed
Merge pull request #5 from vim-php/feature/composer-install
Close #4 ComposerInstall command
2 parents 67b3e9f + 3131cf9 commit 6eeb33f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ To run command for example `:ComposerRun validate` run command validate for your
1111
```
1212
This command exec the installation flow of composer's install. This process require `curl`
1313

14+
```vim
15+
:ComposerInstall [--no-dev ..]
16+
```
17+
This command exec `composer install`
1418

1519
## Install
1620
```vim

plugin/vim-composer.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ if !exists("g:composer_cmd")
2222
endif
2323

2424
command! -narg=* ComposerRun call s:ComposerRunFunc(<q-args>)
25+
command! -narg=* ComposerInstall call s:ComposerRunFunc("install ".<q-args>)
2526
command! ComposerGet call s:ComposerGetFunc()
2627

2728
function! s:ComposerRunFunc(arg)

0 commit comments

Comments
 (0)