解决方法
要获得LESS语法高亮,您必须下载并导入用户定义的语言文件。以下是一些语言文件的链接:
> LESS language file,如Notepad++ User Defined Language List所列
> LESS language file on GitHub
安装说明从GitHub repository:
- Download the
less.xml
file- Open Notepad++
- Go to
Language -> Define your language...
,click onImport...
and select theless.xml
file you’ve downloaded- Close and restart Notepad++
- Done
另一种安装语言文件的方法是copy them into a file in the Notepad++ installation directory。