Skip to content

Commit

Permalink
[Batch File] Tweak comment collapsing (#3865)
Browse files Browse the repository at this point in the history
This commit introduces two changes:

 - `@rem` (silenced `rem`) and `:::` (safe equivalent of `::`) have been added
 - `rem` and its silent equivalent `@rem` now use `TM_COMMENT_CASE_INSENSITIVE`
   introduced in Sublime Text 4153, which allows collapsing comments casefold
  • Loading branch information
mataha authored Nov 6, 2023
1 parent 375ccbf commit 52dcf9a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Batch File/Comments.tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,36 @@
<key>value</key>
<string>rem </string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_CASE_INSENSITIVE</string>
<key>value</key>
<string>yes</string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_START_2</string>
<key>value</key>
<string>@rem </string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_CASE_INSENSITIVE_2</string>
<key>value</key>
<string>yes</string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_START_3</string>
<key>value</key>
<string>:: </string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_START_4</string>
<key>value</key>
<string>::: </string>
</dict>
</array>
</dict>
</dict>
Expand Down

0 comments on commit 52dcf9a

Please sign in to comment.