danro/LESS-sublime

@import after block-comment is not highlighted

vosatom opened this issue · 4 comments

Steps to reproduce:

  1. Create new file in Sublime Text 3126 (LESS plugin 2014.08.31.22.28.34)
  2. Set syntax as LESS
  3. Insert /*Comment*/@import "style.less";

Expected result:
@import should be highlighted

I have offered a PR with improvements, but it's been waiting for review for over a year now. If you're having issues with LESS-sublime, please check out my LessImproved package. It should solve many common problems and feature improved highlighting for css3 features etc. Would love to hear if it improves your use cases!

Ok, I see you have the same problem in your package.

@import doesn't have meta.at-rule.css

Fixed it in 1.1.2!

Less-improved has been merged into LESS and we're carefully rolling it out to everyone with a pre-release along with a host of other improvements.