Skip to content

Commit

Permalink
Fix embedding in new YAML grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD authored Aug 17, 2024
1 parent 0024d70 commit 5536210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/syntax_templates/yaml_syntax.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function buildYamlSyntax(hostSpec, embeddedSpecs) {
'end': String.raw`^(?=\S)|(?!\G)`,
'patterns': [
{
'begin': String.raw`^([ ]+)(?! )`,
'begin': String.raw`(?>^|\\G)([ ]+)(?! )`,
'end': String.raw`^(?!\1|\s*$)`,
'patterns': [{ 'include': `${embedded.root_scope}` }],
'name': `meta.embedded.block.${embedded.vsname}.${hostSpec.vsname} ${embedded.root_scope}`,
Expand Down

0 comments on commit 5536210

Please sign in to comment.