configured autocomplete and snippets