add config for auto-complete.