code: function(editor, hint) {
  			var syntax = hint || 'html';
  			
  			if (!resources.hasSyntax(syntax)) {
  				syntax = 'html';
  			}
  			
  			if (syntax == 'html' && (this.isStyle(editor) || this.isInlineCSS(editor))) {
  				syntax = 'css';
  			}
  
  			if (syntax == 'styl') {
  				syntax = 'stylus';
  			}
  			
  			return syntax;
  		}
docs: Common syntax detection method for editors that doesn’t provide any
  info about current syntax scope.
  @param {IEmmetEditor} editor Current editor
  @param {String} hint Any syntax hint that editor can provide
  for syntax detection. Default is 'html'
  @returns {String}