vuejs / vue-syntax-highlight

💡 Sublime Text syntax highlighting for single-file Vue components
MIT License
1.49k stars 233 forks source link

It dosen't work width less. #175

Open window0006 opened 5 years ago

window0006 commented 5 years ago

image

It dosen't work width less.

yyx990803 commented 5 years ago

Did you install the Less plugin?...

window0006 commented 5 years ago

image

I've installed the Less plugin and restart the editor, but still don't work T.T.

skyronic commented 5 years ago

Hey @window0006

This is the officially supported less plugin - https://packagecontrol.io/packages/LESS

If this still isn't working, can you put your text cursor inside the less style area and press "ctrl + shift + p" (not cmd) and send me a screenshot of the little window that pops up.

window0006 commented 5 years ago

I do install the plugin from here: https://packagecontrol.io/packages/LESS, but still have the problem. Here is the little window: image And it seems just has no highlight, other functions are ok. image

skyronic commented 5 years ago

Just one more thing - could you check with the default sublime text theme? Some themes seem to have this issue.

ShiJinlong1997 commented 5 years ago

Maybe I can help you. 1.Open plugin directory 2.Open vue-syntax-highlight->vue.tmLanguage 3.Line 638 change "source.css.less" to "source.less"