Removing second definition of isSnippet

Fixes #1009

- [ ] Ready to merge
- [ ] Fix issue
- [ ] Fix issue in https://github.com/emmetio/emmet/tree/master/plugins/codemirror2