atom / highlights

Syntax highlighter
https://atom.github.io/highlights
MIT License
530 stars 54 forks source link

default css class name doesn't match syntax css #63

Open mountainstorm opened 6 years ago

mountainstorm commented 6 years ago

The default class names generated by highlight; keyword, comment etc; don't match those generated by lessc when compiling up a theme.

We should change the default "scopePrefix" in highlights.js to "syntax--" e.g.

      if (this.scopePrefix == null) {
        this.scopePrefix = 'syntax--';
      }