add snippet plugin