appden / less.tmbundle

LESS TextMate Bundle
http://lesscss.org/
295 stars 49 forks source link

Variable defaults in mixins returns errors #3

Open Znegl opened 13 years ago

Znegl commented 13 years ago

When using a default value for a variable, as following, an error is returned.

.background-image(@img, @repeat: " ", @important: " ") {
    background-image :e(%("url(%s%s%s)", @cdn, @img, @version)) e(@important);
    background-repeat: e(@repeat) e(@important);
}

This returns an error after @repeat: