json mode

This commit is contained in:
Liang Ding 2014-09-06 22:20:10 +08:00
parent 4e98a18e43
commit 7d7d841505
1 changed files with 3 additions and 1 deletions

View File

@ -268,8 +268,10 @@ func getEditorMode(filenameExtension string) string {
return "htmlmixed"
case ".md":
return "markdown"
case ".js", ".json":
case ".js":
return "javascript"
case ".json":
return "application/json"
case ".css":
return "css"
case ".xml":