Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[less] don't confuse less mode..

..with the newly added simple support for @keyframes
  • Loading branch information...
commit 31a264ab947e2a0992abe80f2bd4df57181ad2bb 1 parent 38c8463
@peterkroon peterkroon authored marijnh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mode/css/css.js
View
2  mode/css/css.js
@@ -676,7 +676,7 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
}
},
"@": function(stream) {
- if (stream.match(/^(charset|document|font-face|import|keyframes|media|namespace|page|supports)\b/, false)) return false;
+ if (stream.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/, false)) return false;
stream.eatWhile(/[\w\\\-]/);
if (stream.match(/^\s*:/, false))
return ["variable-2", "variable-definition"];
Please sign in to comment.
Something went wrong with that request. Please try again.