Skip to content

Commit

Permalink
feat: add wl alias for wolfram (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
stone-zeng authored Dec 11, 2023
1 parent 8be7ec4 commit 3092339
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export type Lang =
| 'wasm'
| 'wenyan' | '文言'
| 'wgsl'
| 'wolfram'
| 'wolfram' | 'wl'
| 'xml'
| 'xsl'
| 'yaml' | 'yml'
Expand Down
5 changes: 3 additions & 2 deletions packages/shiki/src/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export type Lang =
| 'wasm'
| 'wenyan' | '文言'
| 'wgsl'
| 'wolfram'
| 'wolfram' | 'wl'
| 'xml'
| 'xsl'
| 'yaml' | 'yml'
Expand Down Expand Up @@ -1435,7 +1435,8 @@ export const languages: ILanguageRegistration[] = [
scopeName: 'source.wolfram',
path: 'wolfram.tmLanguage.json',
displayName: 'Wolfram',
samplePath: 'wolfram.sample'
samplePath: 'wolfram.sample',
aliases: ['wl']
},
{
id: 'xml',
Expand Down
1 change: 1 addition & 0 deletions scripts/grammarSources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ export const languageAliases = {
viml: ['vim', 'vimscript'],
vyper: ['vy'],
wenyan: ['文言'],
wolfram: ['wl'],
yaml: ['yml'],
graphql: ['gql'],
}
Expand Down

0 comments on commit 3092339

Please sign in to comment.