Skip to content

Close #3 exec custom callback after composer install #10

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

Merged
merged 1 commit into from
Apr 21, 2015

Conversation

gianarb
Copy link

@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