Skip to content

Commit 5511026

Browse files
committed
Highlight 'r' prefix as a storage in Atom
1 parent cfc19c3 commit 5511026

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

Chromodynamics.tmTheme

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,17 @@
124124
<string>#7c9f57</string>
125125
</dict>
126126
</dict>
127+
<dict>
128+
<key>name</key>
129+
<string>Docstring Storage (r prefix) (specially for Atom)</string>
130+
<key>scope</key>
131+
<string>string.quoted.docstring storage</string>
132+
<key>settings</key>
133+
<dict>
134+
<key>foreground</key>
135+
<string>#66D9EF</string>
136+
</dict>
137+
</dict>
127138
<dict>
128139
<key>name</key>
129140
<string>Number</string>

styles/base.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ atom-text-editor.is-focused .line-number.cursor-line-no-selection, atom-text-edi
8484
color: #7c9f57;
8585
}
8686

87+
.syntax--string.syntax--quoted.syntax--docstring .syntax--storage {
88+
color: #66D9EF;
89+
}
90+
8791
.syntax--constant.syntax--numeric {
8892
color: #9a79d7;
8993
}

0 commit comments

Comments
 (0)