Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Adds sass support
Browse files Browse the repository at this point in the history
This commit requires that codemirror be updated to include sass first.
I have already submitted this change
  • Loading branch information
bryanstedman committed Jan 18, 2013
1 parent e116980 commit a96b4b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/editor/EditorUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit a96b4b6

Please sign in to comment.