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.
[Perl] Small whitespace related improvements (sublimehq#1644)
* [Perl] Allow any kind of whitespace around accessors The accessor `::` may be surrounded by spaces and tabs. Not sure whether someone makes use of tabs in such situations, but it should not fail if one decides to do so. HEREDOC indention still accepts normal spaces only at the moment as the amount of spaces in front of the starting and terminating keyword must be the same which might be tricky to handle if mixed indention is used. * [Perl] Remove an isolated regexp flag Inspired by PR sublimehq#1640 this commit removes the isolated (?x) from the `pragma` context. Even though no related issues were found this style of flag is used in the `functions` context already. So this change ensures the same coding style to be used in both contexts.
- Loading branch information
Showing
2 changed files
with
28 additions
and
9 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