Skip to content

Commit

Permalink
Add json5/jsonc
Browse files Browse the repository at this point in the history
Since v2 hasn't moved in... ya know... two years... this could be added now...

Closes #4997
  • Loading branch information
notAreYouScared committed Feb 9, 2024
1 parent fe83a4f commit ab7950e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/scripts/modes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'] },
Expand Down

0 comments on commit ab7950e

Please sign in to comment.