Fix whitespace

pull/2748/head
Alex Dima 5 years ago
parent 3875ac87b3
commit b557a57c71
No known key found for this signature in database
GPG Key ID: 6E58D7B045760DA0

@ -283,7 +283,7 @@ testTokenization(['handlebars', 'css'], [
]
}],
// Block comment
// Block comment
[{
line: '{{!-- block comment --}}',
tokens: [
@ -292,8 +292,8 @@ testTokenization(['handlebars', 'css'], [
{ startIndex: 20, type: 'comment.block.end.handlebars' }
]
}],
// Block comment with mustache
// Block comment with mustache
[{
line: '{{!-- block comment }} with mustache --}}',
tokens: [
@ -303,7 +303,7 @@ testTokenization(['handlebars', 'css'], [
]
}],
// Handlebars comment
// Handlebars comment
[{
line: '{{! comment }}',
tokens: [

@ -85,14 +85,14 @@ export const language = <ILanguage>{
],
comment: [
[/\}\}/, 'comment.end.handlebars', '@pop'],
[/./, 'comment.content.handlebars']
],
commentBlock: [
[/--\}\}/, 'comment.block.end.handlebars', '@pop'],
[/./, 'comment.content.handlebars']
],
[/\}\}/, 'comment.end.handlebars', '@pop'],
[/./, 'comment.content.handlebars']
],
commentBlock: [
[/--\}\}/, 'comment.block.end.handlebars', '@pop'],
[/./, 'comment.content.handlebars']
],
commentHtml: [
[/\{\{/, { token: '@rematch', switchTo: '@handlebarsInSimpleState.comment' }],

Loading…
Cancel
Save