use data.snippet in completions for snippet insertion