forked from sublimehq/Packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Batch File] Fix empty comments exceeding to next line
This commit fixes "label comment" related patterns, to only scope leading colons `punctuation.definition.comment`. Label comments make use of invalid labels being ignored. A label is invalid, if the first character after leading colon is a "metachar". A label starting with `::` is already an invalid label and thus can be followed by any (meta) char to still be a "valid" comment. The wrong pattern was the real reason for the issue addressed by PR sublimehq#3992.
- Loading branch information
Showing
2 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters