json mode
This commit is contained in:
parent
4e98a18e43
commit
7d7d841505
|
@ -268,8 +268,10 @@ func getEditorMode(filenameExtension string) string {
|
||||||
return "htmlmixed"
|
return "htmlmixed"
|
||||||
case ".md":
|
case ".md":
|
||||||
return "markdown"
|
return "markdown"
|
||||||
case ".js", ".json":
|
case ".js":
|
||||||
return "javascript"
|
return "javascript"
|
||||||
|
case ".json":
|
||||||
|
return "application/json"
|
||||||
case ".css":
|
case ".css":
|
||||||
return "css"
|
return "css"
|
||||||
case ".xml":
|
case ".xml":
|
||||||
|
|
Loading…
Reference in New Issue