Skip to content
Snippets Groups Projects
Commit 493d3cc2 authored by Marcel Gerber's avatar Marcel Gerber Committed by Marijn Haverbeke
Browse files

[scss mode] Allow interpolation inside braces

parent 5d8347de
No related branches found
No related tags found
No related merge requests found
......@@ -239,6 +239,7 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
if (type == "{" || type == "}") return popAndPass(type, stream, state);
if (type == ")") return popContext(state);
if (type == "(") return pushContext(state, stream, "parens");
if (type == "interpolation") return pushContext(state, stream, "interpolation");
if (type == "word") wordAsValue(stream);
return "parens";
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment