Skip to content

Commit 721ae96

Browse files
authored
[Rust] Add string punctuation scope fold rules (sublimehq#3632)
This commit enables syntax based folding for strings as they can consist of multiple lines by ending lines with single backslashes.
1 parent ed3bf63 commit 721ae96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Rust/Fold.tmPreferences

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
<key>end</key>
2828
<string>punctuation.section.parameters.end</string>
2929
</dict>
30+
<dict>
31+
<key>begin</key>
32+
<string>punctuation.definition.string.begin</string>
33+
<key>end</key>
34+
<string>punctuation.definition.string.end</string>
35+
</dict>
3036
</array>
3137
</dict>
3238
</dict>

0 commit comments

Comments
 (0)