Merge pull request #134 from NullVoxPopuli/patch-1

Add hbs alias to handlebars
This commit is contained in:
Alexandru Dima 2021-05-11 12:46:26 +02:00 committed by GitHub
commit b60c47312b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ import { registerLanguage } from '../_.contribution';
registerLanguage({ registerLanguage({
id: 'handlebars', id: 'handlebars',
extensions: ['.handlebars', '.hbs'], extensions: ['.handlebars', '.hbs'],
aliases: ['Handlebars', 'handlebars'], aliases: ['Handlebars', 'handlebars', 'hbs'],
mimetypes: ['text/x-handlebars-template'], mimetypes: ['text/x-handlebars-template'],
loader: () => import('./handlebars') loader: () => import('./handlebars')
}); });