mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Added the --- seperator to the paragraph rule
to allow heading-setext.2 rule to be recognized
This commit is contained in:
@@ -26,6 +26,10 @@
|
||||
<dict>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#separator</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#heading</string>
|
||||
@@ -202,11 +206,6 @@
|
||||
<key>include</key>
|
||||
<string>#paragraph</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#separator</string>
|
||||
</dict>
|
||||
|
||||
</array>
|
||||
<key>repository</key>
|
||||
<dict>
|
||||
@@ -413,10 +412,6 @@
|
||||
<key>include</key>
|
||||
<string>text.html.basic</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#heading-setext</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>while</key>
|
||||
<string>(^|\G)(?!\s*$|#|[ ]{0,3}([-*_][ ]{2,}){3,}[ \t]*$\n?|>|[ ]{0,3}[*+-]|[ ]{0,3}[0-9]+\.)</string>
|
||||
@@ -508,7 +503,7 @@
|
||||
<!-- seperator [ ]{0,3}([-*_][ ]{0,2}\2){2,}[ \t]*$\n? -->
|
||||
<!-- list [ ]{0,3}[*+-]([ ]{1,3}|\t) -->
|
||||
<!-- both are folded together in the expression below -->
|
||||
<string>(^|\G)(?!\s*$|#|[ ]{0,3}((([-*_][ ]{0,2}\2){2,}[ \t]*$\n?)|([*+-]([ ]{1,3}|\t)))|\s*\[.+?\]:|>)</string>
|
||||
<string>(^|\G)(?!\s*$|#|[ ]{0,3}((([*_][ ]{0,2}\2){2,}[ \t]*$\n?)|([*+-]([ ]{1,3}|\t)))|\s*\[.+?\]:|>)</string>
|
||||
</dict>
|
||||
<key>raw_block</key>
|
||||
<dict>
|
||||
@@ -1114,7 +1109,7 @@
|
||||
<key>separator</key>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(^|\G)[ ]{0,3}([-*_])([ ]{0,2}\2){2,}[ \t]*$\n?</string>
|
||||
<string>(^|\G)[ ]{0,3}([*-_])([ ]{0,2}\2){2,}[ \t]*$\n?</string>
|
||||
<key>name</key>
|
||||
<string>meta.separator.markdown</string>
|
||||
</dict>
|
||||
|
||||
Reference in New Issue
Block a user