diff --git a/resources/scripts/modes.ts b/resources/scripts/modes.ts index 6606fe4dc9..e6f66423e2 100644 --- a/resources/scripts/modes.ts +++ b/resources/scripts/modes.ts @@ -43,9 +43,9 @@ const modes: Mode[] = [ { name: 'JSON', mime: 'application/json', - mimes: ['application/json', 'application/x-json'], + mimes: ['application/json', 'application/x-json', 'application/json5' ], mode: 'javascript', - ext: ['json', 'map'], + ext: ['json', 'map', 'json5', 'jsonc' ], alias: ['json5'], }, { name: 'Lua', mime: 'text/x-lua', mode: 'lua', ext: ['lua'] },