mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Add Twig substates where its missing
This commit is contained in:
parent
532285bcf5
commit
67969886ec
1 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ export const language = <ILanguage>{
|
|||
// Unlike other blocks, verbatim ehas its own state
|
||||
// transition to ensure we mark its contents as strings.
|
||||
[/(verbatim)(\s*)([-~]?%})/, [
|
||||
'keyword',
|
||||
'keyword.twig',
|
||||
'',
|
||||
{ token: 'delimiter.twig', next: '@rawDataState' },
|
||||
]],
|
||||
|
|
@ -62,11 +62,11 @@ export const language = <ILanguage>{
|
|||
[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/, [
|
||||
'delimiter.twig',
|
||||
'',
|
||||
'keyword',
|
||||
'keyword.twig',
|
||||
'',
|
||||
{ token: 'delimiter.twig', next: '@popall' },
|
||||
]],
|
||||
[/./, 'string'],
|
||||
[/./, 'string.twig'],
|
||||
],
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue