Skip to content

Commit

Permalink
chore: preload diff language
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Jun 22, 2022
1 parent 051cdfa commit 3367248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/server/api/highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export default defineLazyEventHandler(async () => {
theme: theme?.default || theme || 'dark-plus',
langs: [
...(preload || []),
'diff',
'json',
'js',
'ts',
Expand Down

0 comments on commit 3367248

Please sign in to comment.