-
Notifications
You must be signed in to change notification settings - Fork 0
/
sublime.tm
31 lines (27 loc) · 1007 Bytes
/
sublime.tm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
http://ilkinulas.github.io/programming/2016/02/05/sublime-text-syntax-highlighting.html
~/.config/sublime-text/Packages/Theme - One Dark/One Dark.tmTheme
to create new syntax highlighting
create a new sublime syntax file that contains the scope of stuff
and then modify your tm theme which it will specify the scopes from your syntax file
<dict>
<key>scope</key>
<string>rust.custom.String</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>bold</string>
<key>foreground</key>
<string>#F7860A</string>
</dict>
</dict>
<dict>
<key>scope</key>
<string>rust.custom.let</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>bold</string>
<key>foreground</key>
<string>#204A87FF</string>
</dict>
</dict>