mirror of
https://github.com/urbit/shrub.git
synced 2024-09-11 20:27:19 +03:00
Fix sublime string highlighting.
Backslashes were throwing it off.
This commit is contained in:
parent
88caf29d20
commit
7481ff553a
@ -21,10 +21,12 @@ patterns:
|
||||
- comment: tape
|
||||
name: string.double.hoon
|
||||
begin: \"
|
||||
patterns: [{match: '\\.|[^"]'}]
|
||||
end: \"
|
||||
- comment: cord
|
||||
name: string.single.hoon
|
||||
begin: \'
|
||||
patterns: [{match: "\\\\.|[^']"}]
|
||||
end: \'
|
||||
- comment: arm
|
||||
name: constant.character.hoon
|
||||
@ -45,4 +47,4 @@ patterns:
|
||||
name: keyword.control.hoon
|
||||
begin: ';script(type "text/coffeescript")'
|
||||
end: '=='
|
||||
...
|
||||
...
|
||||
|
@ -50,6 +50,13 @@
|
||||
<string>\"</string>
|
||||
<key>name</key>
|
||||
<string>string.double.hoon</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\\.|[^"]</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
@ -60,6 +67,13 @@
|
||||
<string>\'</string>
|
||||
<key>name</key>
|
||||
<string>string.single.hoon</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\\.|[^']</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>comment</key>
|
||||
|
Loading…
Reference in New Issue
Block a user