From 0dadcb0632fd787621a0a219c37d45bee15deb66 Mon Sep 17 00:00:00 2001 From: Gianluca Arbezzano Date: Sat, 11 Apr 2015 11:06:03 +0200 Subject: [PATCH 1/2] Close #4 ComposerInstall command --- plugin/vim-composer.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/vim-composer.vim b/plugin/vim-composer.vim index 29ccfb6..b41a151 100644 --- a/plugin/vim-composer.vim +++ b/plugin/vim-composer.vim @@ -22,6 +22,7 @@ if !exists("g:composer_cmd") endif command! -narg=* ComposerRun call s:ComposerRunFunc() +command! -narg=* ComposerInstall call s:ComposerRunFunc("install ".) command! ComposerGet call s:ComposerGetFunc() function! s:ComposerRunFunc(arg) From 3131cf9bea92d90c9c39c8d6d9bf5a6717df48ea Mon Sep 17 00:00:00 2001 From: Gianluca Arbezzano Date: Sat, 11 Apr 2015 11:08:44 +0200 Subject: [PATCH 2/2] update readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8ccc8e4..eecc98c 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,10 @@ To run command for example `:ComposerRun validate` run command validate for your ``` This command exec the installation flow of composer's install. This process require `curl` +```vim +:ComposerInstall [--no-dev ..] +``` +This command exec `composer install` ## Install ```vim