From a96b4b6e1b1a6e3820a66c798578ba376e3b6250 Mon Sep 17 00:00:00 2001 From: Bryan Date: Fri, 18 Jan 2013 12:33:47 -0800 Subject: [PATCH] Adds sass support This commit requires that codemirror be updated to include sass first. I have already submitted this change --- src/editor/EditorUtils.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/editor/EditorUtils.js b/src/editor/EditorUtils.js index 9711355f981..692d3f6ed8d 100644 --- a/src/editor/EditorUtils.js +++ b/src/editor/EditorUtils.js @@ -44,6 +44,7 @@ define(function (require, exports, module) { require("thirdparty/CodeMirror2/mode/perl/perl"); require("thirdparty/CodeMirror2/mode/python/python"); require("thirdparty/CodeMirror2/mode/ruby/ruby"); + require("thirdparty/CodeMirror2/mode/sass/sass"); require("thirdparty/CodeMirror2/mode/lua/lua"); require("thirdparty/CodeMirror2/mode/mysql/mysql"); require("thirdparty/CodeMirror2/mode/diff/diff"); @@ -148,6 +149,10 @@ define(function (require, exports, module) { case "py": case "pyw": return "python"; + + case "sass": + case "scss": + return "sass"; case "lua": return "lua";