diff --git a/docs/languages.md b/docs/languages.md index 20aafc7c8..749a00a49 100644 --- a/docs/languages.md +++ b/docs/languages.md @@ -134,7 +134,7 @@ export type Lang = | 'jssm' | 'fsl' | 'jsx' | 'julia' - | 'kotlin' + | 'kotlin' | 'kt' | 'kts' | 'kusto' | 'kql' | 'latex' | 'less' diff --git a/packages/shiki/src/languages.ts b/packages/shiki/src/languages.ts index 4fb4927e7..501e9d701 100644 --- a/packages/shiki/src/languages.ts +++ b/packages/shiki/src/languages.ts @@ -375,6 +375,7 @@ export const languages: ILanguageRegistration[] = [ path: 'cpp.tmLanguage.json', displayName: 'C++', samplePath: 'cpp.sample', + aliases: ['c++'], embeddedLangs: ['glsl', 'sql'] }, {