mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Fix whitespace
This commit is contained in:
parent
3875ac87b3
commit
b557a57c71
2 changed files with 11 additions and 11 deletions
|
|
@ -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']
|
||||
],
|
||||
[/\}\}/, 'comment.end.handlebars', '@pop'],
|
||||
[/./, 'comment.content.handlebars']
|
||||
],
|
||||
|
||||
commentBlock: [
|
||||
[/--\}\}/, 'comment.block.end.handlebars', '@pop'],
|
||||
[/./, 'comment.content.handlebars']
|
||||
],
|
||||
commentBlock: [
|
||||
[/--\}\}/, 'comment.block.end.handlebars', '@pop'],
|
||||
[/./, 'comment.content.handlebars']
|
||||
],
|
||||
|
||||
commentHtml: [
|
||||
[/\{\{/, { token: '@rematch', switchTo: '@handlebarsInSimpleState.comment' }],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue