Skip to content

Commit

Permalink
Fix [Fix embedding in new YAML grammar]
Browse files Browse the repository at this point in the history
Fixes issue in ruschaaf#17 (comment)
  • Loading branch information
RedCMD authored Oct 21, 2024
1 parent afd9010 commit 065ebf9
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`(?>^|\\G)([ ]+)(?! )`,
'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 065ebf9

Please sign in to comment.