Skip to content

Close #3 exec custom callback after composer install#10

Merged
gianarb merged 1 commit into
masterfrom
feature/install_callback
Apr 21, 2015
Merged

Close #3 exec custom callback after composer install#10
gianarb merged 1 commit into
masterfrom
feature/install_callback

Conversation

@gianarb
Copy link
Copy Markdown

@gianarb gianarb commented Apr 21, 2015

:ComposerInstall [--no-dev ..]

This command exec composer install. Now you can attach after this command a custom callback to exec your personal flow.

function! MyCallbackFunction()
    exec ':silent ! ctags -a %'
endfunction
let g:composer_install_callback = "MyCallbackFunction"

In this example after every composer install I exec a ctags generation

gianarb pushed a commit that referenced this pull request Apr 21, 2015
Close #3 exec custom callback after composer install
@gianarb gianarb merged commit a70741a into master Apr 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant