diff --git a/htdocs/application/config/codemirror_languages.php b/htdocs/application/config/codemirror_languages.php index 9ff8001..9b0d4e2 100644 --- a/htdocs/application/config/codemirror_languages.php +++ b/htdocs/application/config/codemirror_languages.php @@ -62,7 +62,14 @@ $config['codemirror_languages'] = array( ) , ) , ) , - 'python' => 'Python', + 'python' => array( + 'mode' => 'python', + 'js' => array( + array( + 'codemirror/mode/python/python.js' + ) , + ) , + ) , 'ruby' => 'Ruby', 'bash' => 'Bash', 'c' => 'C',