diff options
author | bscan <10503608+bscan@users.noreply.github.com> | 2022-11-29 19:47:25 -0500 |
---|---|---|
committer | bscan <10503608+bscan@users.noreply.github.com> | 2022-11-29 19:47:25 -0500 |
commit | e60e66c6517afd44506089cdac7f3bffbdb73c15 (patch) | |
tree | 3f153e283c7bf9831d1bba78ab78411e6ec76e17 /syntaxes | |
parent | 6ba380005b103e65cc86a3b4f96e1e391a51c000 (diff) | |
download | PerlNavigator-e60e66c6517afd44506089cdac7f3bffbdb73c15.zip |
Expanding async/await to include Promise::AsyncAwait and other potential forms
Diffstat (limited to 'syntaxes')
-rw-r--r-- | syntaxes/perl-scopes.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntaxes/perl-scopes.json b/syntaxes/perl-scopes.json index b1a7f48..4ba1cbc 100644 --- a/syntaxes/perl-scopes.json +++ b/syntaxes/perl-scopes.json @@ -83,7 +83,7 @@ }, { "name": "meta.async.perl", - "begin": "(?<=use)\\s+(?:Future::AsyncAwait|Mojo::AsyncAwait|Mojo::Base.*-async_await.*)(?=[\\s;])", + "begin": "(?<=use)\\s+(?:\\w+::AsyncAwait|Mojo::Base.*-async_await.*)(?=[\\s;])", "end": "(\\b)(?=^\\s*package\\s|no\\s+\\1[\\s;])", "patterns": [ { |