Skip to content

Commit fec78b8

Browse files
committed
Exclude markup.italic scope from italic fix
This prevents the case of the rule from the main grammar having already being entered and not being able to exit as expected.
1 parent 4b2b0ab commit fec78b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Syntaxes/Markdown (GitHub Italics).tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>hideFromUser</key>
88
<true/>
99
<key>injectionSelector</key>
10-
<string>(L:text.html.markdown)</string>
10+
<string>L:(text.html.markdown - (markup.italic.markdown))</string>
1111
<key>name</key>
1212
<string>Markdown (GitHub Italics)</string>
1313
<key>patterns</key>

0 commit comments

Comments
 (0)