code: function getSnippetsCompletions(editor, prefix) {
  	const syntax = detectSyntax(editor);
  	if (isStylesheet(syntax)) {
  		return getStylesheetSnippetsCompletions(editor, prefix);
  	} else if (syntax) {
  		return getMarkupSnippetsCompletions(editor, prefix);
  	}
  
  	return [];
  }
docs: Returns snippets completions for given editor.
  @param  {TextEditor} editor
  @param  {String} prefix
  @return {String[]}