mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +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 --}}',
|
line: '{{!-- block comment --}}',
|
||||||
tokens: [
|
tokens: [
|
||||||
|
|
@ -292,8 +292,8 @@ testTokenization(['handlebars', 'css'], [
|
||||||
{ startIndex: 20, type: 'comment.block.end.handlebars' }
|
{ startIndex: 20, type: 'comment.block.end.handlebars' }
|
||||||
]
|
]
|
||||||
}],
|
}],
|
||||||
|
|
||||||
// Block comment with mustache
|
// Block comment with mustache
|
||||||
[{
|
[{
|
||||||
line: '{{!-- block comment }} with mustache --}}',
|
line: '{{!-- block comment }} with mustache --}}',
|
||||||
tokens: [
|
tokens: [
|
||||||
|
|
@ -303,7 +303,7 @@ testTokenization(['handlebars', 'css'], [
|
||||||
]
|
]
|
||||||
}],
|
}],
|
||||||
|
|
||||||
// Handlebars comment
|
// Handlebars comment
|
||||||
[{
|
[{
|
||||||
line: '{{! comment }}',
|
line: '{{! comment }}',
|
||||||
tokens: [
|
tokens: [
|
||||||
|
|
|
||||||
|
|
@ -85,14 +85,14 @@ export const language = <ILanguage>{
|
||||||
],
|
],
|
||||||
|
|
||||||
comment: [
|
comment: [
|
||||||
[/\}\}/, 'comment.end.handlebars', '@pop'],
|
[/\}\}/, 'comment.end.handlebars', '@pop'],
|
||||||
[/./, 'comment.content.handlebars']
|
[/./, 'comment.content.handlebars']
|
||||||
],
|
],
|
||||||
|
|
||||||
commentBlock: [
|
commentBlock: [
|
||||||
[/--\}\}/, 'comment.block.end.handlebars', '@pop'],
|
[/--\}\}/, 'comment.block.end.handlebars', '@pop'],
|
||||||
[/./, 'comment.content.handlebars']
|
[/./, 'comment.content.handlebars']
|
||||||
],
|
],
|
||||||
|
|
||||||
commentHtml: [
|
commentHtml: [
|
||||||
[/\{\{/, { token: '@rematch', switchTo: '@handlebarsInSimpleState.comment' }],
|
[/\{\{/, { token: '@rematch', switchTo: '@handlebarsInSimpleState.comment' }],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue