New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close #3 exec custom callback after composer install #10

Merged
merged 1 commit into from Apr 21, 2015

Conversation

Projects
None yet
1 participant
@gianarb
Contributor

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 gianarb added the enhancement label Apr 21, 2015

gianarb added a commit that referenced this pull request Apr 21, 2015

Merge pull request #10 from vim-php/feature/install_callback
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