Syntax highlighting breaks on partials typed without trailing space
rosshamish opened this issue · 3 comments
rosshamish commented
Looks like the issue is in one of the regexes around line 96 in syntaxes/DustBuster.YAML-tmLanguage
dust_partials:
begin: (\{*(>))\s*([-a-zA-Z0-9_\./]+)*
beginCaptures:
'1': {name: entity.name.tag.block.open.dust}
'2': {name: constant.character.dust}
'2': {name: constant.character.dust}
end: (~?\/\})
endCaptures:
'1': {name: entity.name.tag.block.open.dust}
'2': {name: variable.parameter.dust}
name: meta.function.block.start.dust
patterns:
- {include: '#dust_strings'}
zanuka commented
thanks @rosshamish , will fix
rosshamish commented
Updated this morning and the fix works for me. Awesome!
For later reference: fixed in 394cd06
zanuka commented
good to hear 👍