json mode
This commit is contained in:
parent
4e98a18e43
commit
7d7d841505
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue