add snippet, ac dictionary