diff options
author | bscan <10503608+bscan@users.noreply.github.com> | 2023-03-18 14:42:27 -0400 |
---|---|---|
committer | bscan <10503608+bscan@users.noreply.github.com> | 2023-03-18 14:42:27 -0400 |
commit | c519bec87ccf4216e764747994dde2169d9ae042 (patch) | |
tree | 5464afc85293b4199504c7414d961d7867157659 /syntaxes | |
parent | 31b6d7b4b110821ea7550abb0dde53ebe94e5cd3 (diff) | |
download | PerlNavigator-c519bec87ccf4216e764747994dde2169d9ae042.zip |
Improving Perl::Critic usage with Object::Pad. Fixes #63
Diffstat (limited to 'syntaxes')
-rw-r--r-- | syntaxes/perl-scopes.json | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/syntaxes/perl-scopes.json b/syntaxes/perl-scopes.json index 9b4e2e5..c10afb3 100644 --- a/syntaxes/perl-scopes.json +++ b/syntaxes/perl-scopes.json @@ -37,7 +37,6 @@ "comment": "This matches feature bundle 5.10 to 5.35", "name": "meta.v510.perl", "begin": "(?<=use)\\s+(?=(?:v?5\\.0?(?:[1-2][0-9]|3[0-5])(?:\\.\\d+)?|feature\\s+[\"']:5\\.(?:[1-2][0-9]|3[0-5])[\"'])[\\s;])", - "end": "(\\b)(?=^\\s*package\\s*[\\w:]+\\s*;)", "patterns": [ { "include": "#source" @@ -48,7 +47,6 @@ "comment": "This matches from 5.36 and up", "name": "meta.v536.perl", "begin": "(?<=use)\\s+(?=(?:v?5\\.0?(?:3[6-9]|4[0-9])(?:\\.\\d+)?|feature\\s+[\"']:5\\.(?:3[6-9]|4[0-9])[\"'])[\\s;])", - "end": "(\\b)(?=^\\s*package\\s*[\\w:]+\\s*;)", "patterns": [ { "include": "#source" @@ -59,7 +57,6 @@ "comment": "TODO: Currently, these regexes do not allow for multiple features in 'feature qw(class try)' since the first one consumes it.", "name": "meta.objectpad.perl", "begin": "(?<=use)\\s+(?=(?:Object::Pad|feature\\s.*class.*|experimental\\s.*class.*|Feature::Compat::Class)[\\s;])", - "end": "(\\b)(?=^\\s*package\\s*[\\w:]+\\s*;)", "patterns": [ { "include": "#source" @@ -107,7 +104,6 @@ { "name": "meta.async.perl", "begin": "(?<=use)\\s+(?=(?:\\w+::AsyncAwait|Mojo::Base.*-async_await.*)[\\s;])", - "end": "(\\b)(?=^\\s*package\\s*[\\w:]+\\s*;)", "patterns": [ { "include": "#source" @@ -117,7 +113,6 @@ { "name": "meta.trycatch.perl", "begin": "(?<=use)\\s+(?=(?:Syntax::Keyword::Try|Feature::Compat::Try|Syntax::Feature::Try|Try::Tiny|TryCatch|Try|feature\\s.*try.*|experimental\\s.*try.*)[\\s;])", - "end": "(\\b)(?=^\\s*package\\s*[\\w:]+\\s*;)", "patterns": [ { "include": "#source" @@ -127,7 +122,6 @@ { "name": "meta.defer.perl", "begin": "(?<=use)\\s+(?=(?:feature\\s.*\\bdefer\\b.*|Syntax::Keyword::Defer)[\\s;])", - "end": "(\\b)(?=^\\s*package\\s*[\\w:]+\\s*;)", "patterns": [ { "include": "#source" @@ -137,7 +131,6 @@ { "name": "meta.dynamically.perl", "begin": "(?<=use)\\s+(?=Syntax::Keyword::Dynamically[\\s;])", - "end": "(\\b)(?=^\\s*package\\s*[\\w:]+\\s*;)", "patterns": [ { "include": "#source" @@ -147,7 +140,6 @@ { "name": "meta.isa.perl", "begin": "(?<=use)\\s+(?=(?:feature\\s.*\\bisa\\b.*)[\\s;])", - "end": "(\\b)(?=^\\s*package\\s*[\\w:]+\\s*;)", "patterns": [ { "include": "#source" @@ -157,7 +149,6 @@ { "name": "meta.state.perl", "begin": "(?<=use)\\s+(?=(?:feature\\s.*\\bstate\\b.*)[\\s;])", - "end": "(\\b)(?=^\\s*package\\s*[\\w:]+\\s*;)", "patterns": [ { "include": "#source" @@ -167,7 +158,6 @@ { "name": "meta.match.perl", "begin": "(?<=use)\\s+(?=(?:Syntax::Keyword::Match)[\\s;])", - "end": "(\\b)(?=^\\s*package\\s*[\\w:]+\\s*;)", "patterns": [ { "include": "#source" |