diff --git a/htdocs/application/config/codemirror_languages.php b/htdocs/application/config/codemirror_languages.php index 82b0339..c522795 100644 --- a/htdocs/application/config/codemirror_languages.php +++ b/htdocs/application/config/codemirror_languages.php @@ -26,6 +26,23 @@ $config['codemirror_languages'] = array( ) , ) , ) , + 'html5' => array( + 'mode' => 'htmlmixed', + 'js' => array( + array( + 'codemirror/mode/xml/xml.js' + ) , + array( + 'codemirror/mode/javascript/javascript.js' + ) , + array( + 'codemirror/mode/css/css.js' + ) , + array( + 'codemirror/mode/htmlmixed/htmlmixed.js' + ) , + ) , + ) , 'css' => array( 'mode' => 'css', 'js' => array( @@ -78,6 +95,14 @@ $config['codemirror_languages'] = array( ) , ) , ) , + 'lua' => array( + 'mode' => 'text/x-lua', + 'js' => array( + array( + 'codemirror/mode/lua/lua.js' + ) , + ) , + ) , 'bash' => array( 'mode' => 'text/x-sh', 'js' => array( @@ -86,6 +111,14 @@ $config['codemirror_languages'] = array( ) , ) , ) , + 'go' => array( + 'mode' => 'text/x-go', + 'js' => array( + array( + 'codemirror/mode/go/go.js' + ) , + ) , + ) , 'c' => array( 'mode' => 'text/x-csrc', 'js' => array( @@ -192,14 +225,6 @@ $config['codemirror_languages'] = array( ) , ) , 'lisp' => 'Lisp', - 'lua' => array( - 'mode' => 'lua', - 'js' => array( - array( - 'codemirror/mode/lua/lua.js' - ) , - ) , - ) , 'm68k' => 'm68k', 'matlab' => 'Matlab', 'mirc' => 'mIRC',