add config for snippet