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

Adding python syntax highlighting. #2355

Merged
merged 1 commit into from
Dec 15, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/editor/EditorUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ define(function (require, exports, module) {
require("thirdparty/CodeMirror2/mode/coffeescript/coffeescript");
require("thirdparty/CodeMirror2/mode/clojure/clojure");
require("thirdparty/CodeMirror2/mode/perl/perl");
require("thirdparty/CodeMirror2/mode/python/python");
require("thirdparty/CodeMirror2/mode/ruby/ruby");
require("thirdparty/CodeMirror2/mode/lua/lua");
require("thirdparty/CodeMirror2/mode/mysql/mysql");
Expand Down Expand Up @@ -140,6 +141,9 @@ define(function (require, exports, module) {

case "rb":
return "ruby";

case "py":
return "python";

case "lua":
return "lua";
Expand Down