Rerun async plugins after buffer switch

TODO: cache result. This is necessary at the moment because currently,
they just stop working after a buffer switch
Merge pull request #464 from glowing-bear/hotfix-async-plugins

Rerun async plugins after buffer switch