]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add some filetypes
authorTom Needham <needham.thomas@gmail.com>
Sat, 7 Apr 2012 13:32:00 +0000 (13:32 +0000)
committerTom Needham <needham.thomas@gmail.com>
Sat, 7 Apr 2012 13:32:00 +0000 (13:32 +0000)
apps/files_texteditor/js/editor.js

index 016632c99797311c47aeacfa9e5f7fdb22828727..bc8a20408c2db863b212f5f652bde9d2baf25c29 100644 (file)
@@ -22,9 +22,11 @@ function setSyntaxMode(ext){
        filetype["css"] = "css";
        filetype["groovy"] = "groovy";
        filetype["haxe"] = "hx";
+       filetype["htm"] = "html";
        filetype["html"] = "html";
        filetype["java"] = "java";
        filetype["js"] = "javascript";
+       filetype["jsm"] = "javascript";
        filetype["json"] = "json";
        filetype["latex"] = "latex";
        filetype["ly"] = "latex";