From 493d3cc2c428373ecbd151773fc17050b1ffd11a Mon Sep 17 00:00:00 2001 From: Marcel Gerber <mg.hain@gmx.de> Date: Sun, 15 Mar 2015 17:27:47 +0100 Subject: [PATCH] [scss mode] Allow interpolation inside braces --- mode/css/css.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mode/css/css.js b/mode/css/css.js index 34355aaa..bed1517e 100644 --- a/mode/css/css.js +++ b/mode/css/css.js @@ -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"; }; -- GitLab