Skip to content

Commit a3eb7ac

Browse files
author
Josh Kaplan
committed
references #3 Python strings look like comments on build 3114. Problem arises from my special treatment of DocStrings to treat them like comments. This resolves the issue for default Python scheme, but forces PythonImproved to treat docstrings like regular strings.
1 parent e3398a0 commit a3eb7ac

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Monokai-Neue.tmTheme

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,10 @@ See LICENSE-MIT and README.md files in project root diretory.
997997
<string>#3bc0f0</string>
998998
</dict>
999999
</dict>
1000+
<!-- Note: This got broken during Sublime Build 3114
1001+
it affects all strings in Python, however, PythonImproved is fine
1002+
-->
1003+
<!--
10001004
<dict>
10011005
<key>name</key>
10021006
<string>docstring</string>
@@ -1010,6 +1014,20 @@ See LICENSE-MIT and README.md files in project root diretory.
10101014
<string>#77777E</string>
10111015
</dict>
10121016
</dict>
1017+
-->
1018+
<dict>
1019+
<key>name</key>
1020+
<string>docstring</string>
1021+
<key>scope</key>
1022+
<string>string.docstring</string>
1023+
<key>settings</key>
1024+
<dict>
1025+
<key>fontStyle</key>
1026+
<string>italic</string>
1027+
<key>foreground</key>
1028+
<string>#FF0000</string>
1029+
</dict>
1030+
</dict>
10131031
<!--
10141032
<dict>
10151033
<key>name</key>

0 commit comments

Comments
 (0)