Auto pair plugin