Closed heldchen closed 11 years ago
Thanks for the bug report. The problem came from the fact that .css files are not loaded by the plugin as LESS stylesheet. The code was throwing an IllegalStateException when attempting to access the contents of the CSS file. If fixed the code to catch the exception. Please note however that the contents of the css file will *not be analyzed by the plugin, though it is imported as a LESS stylesheet.
perfect, thanks!
since less 1.4.0 (https://github.com/less/less.js/blob/master/CHANGELOG.md#140-beta-1--2) it is now possible to specify how a file included with
@import
should be handled:the following code unfortunately breaks:
albeit the variable is declared locally, the syntax highlighter marks the line
font-size: @size
with the errorThe variable '@size' is undefined in this context
. commenting out the import statement makes the error go away.