sekogan / MarkdownLight

Markdown syntax highlighting plugin and color scheme for Sublime Text 3
MIT License
41 stars 16 forks source link

The main scope should be name `source.css.less` instead of `source.less`? #12

Open evandrocoan opened 7 years ago

evandrocoan commented 7 years ago

The main scope should be name source.css.less instead of source.less?

On the lines:

  1. https://github.com/sekogan/MarkdownLight/blob/master/MarkdownLight.tmLanguage#L395-L397,

They are defined as source.css.less but on the LESS syntax package they are defined as source.less:

  1. https://github.com/danro/LESS-sublime/issues/85
  2. https://github.com/sekogan/MarkdownLight/issues/9#issuecomment-257127053
braver commented 6 years ago

The scope should be source.less because less is a different language than css, not a pure superset or extension of css.