Skip to content

Commit

Permalink
fix: run node apps/vscode/syntaxes/build-lang.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil committed Aug 5, 2024
1 parent 66036c2 commit a4e0884
Showing 1 changed file with 39 additions and 7 deletions.
46 changes: 39 additions & 7 deletions apps/vscode/syntaxes/quarto.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -4395,18 +4395,50 @@
<key>frontMatter</key>
<dict>
<key>begin</key>
<string>\A-{3}\s*$</string>
<key>contentName</key>
<string>meta.embedded.block.frontmatter</string>
<string>\A(?=(-{3,}))</string>
<key>end</key>
<string>^ {,3}\1-*[ \t]*$|^[ \t]*\.{3}$</string>
<key>applyEndPatternLast</key>
<integer>1</integer>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.end.frontmatter</string>
</dict>
</dict>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.yaml</string>
<key>begin</key>
<string>\A(-{3,})(.*)$</string>
<key>while</key>
<string>^(?! {,3}\1-*[ \t]*$|[ \t]*\.{3}$)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.begin.frontmatter</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>comment.frontmatter</string>
</dict>
</dict>
<key>contentName</key>
<string>meta.embedded.block.frontmatter</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.yaml</string>
</dict>
</array>
</dict>
</array>
<key>end</key>
<string>(^|\G)-{3}|\.{3}\s*$</string>
</dict>
<key>inline</key>
<dict>
Expand Down

0 comments on commit a4e0884

Please sign in to comment.