Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Markdown] Simplify frontmatter punctuation scopes (#3941)
This commit renames scopes of `---` frontmatter markers to: meta.frontmatter punctuation.section.frontmatter.[begin|end] Relational --- 1. Frontmatter is not scoped `meta.block` and probably shouldn't be. Thus using `punctuation.section.block` seems not a perfect match for scoping `---` markers. 2. `punctuation.section.block` scope is primarily used to denote `{` and `}` in C like syntaxes. 3. The change intents to apply scope naming guideline which uses `meta.<name> punctuation.section.<name>.[begin|end]` scheme. 4. Only few syntaxes extend punctuation scopes after `begin` or `end`.
- Loading branch information