From 7b58b1ea59f82b7229db3e0258cb360a949151b7 Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Tue, 2 Feb 2016 19:37:35 -0700 Subject: [PATCH] Adding Perl6-specific grammar. --- .gitmodules | 3 +++ grammars.yml | 4 ++++ lib/linguist/languages.yml | 2 +- vendor/grammars/perl6fe | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) create mode 160000 vendor/grammars/perl6fe diff --git a/.gitmodules b/.gitmodules index f4d07d4a..468dd8b9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -710,3 +710,6 @@ [submodule "vendor/grammars/language-yang"] path = vendor/grammars/language-yang url = https://github.com/DzonyKalafut/language-yang.git +[submodule "vendor/grammars/perl6fe"] + path = vendor/grammars/perl6fe + url = https://github.com/MadcapJake/language-perl6fe.git diff --git a/grammars.yml b/grammars.yml index 8edfce74..4aefd99f 100644 --- a/grammars.yml +++ b/grammars.yml @@ -445,6 +445,10 @@ vendor/grammars/pascal.tmbundle: vendor/grammars/perl.tmbundle/: - source.perl - source.perl.6 +vendor/grammars/perl6fe: +- source.meta-info +- source.perl6fe +- source.regexp.perl6fe vendor/grammars/php-smarty.tmbundle: - text.html.smarty vendor/grammars/php.tmbundle: diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 081da674..9faff3af 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -2654,7 +2654,7 @@ Perl6: - Rexfile interpreters: - perl6 - tm_scope: source.perl.6 + tm_scope: source.perl6fe ace_mode: perl Pickle: diff --git a/vendor/grammars/perl6fe b/vendor/grammars/perl6fe new file mode 160000 index 00000000..8bcf0980 --- /dev/null +++ b/vendor/grammars/perl6fe @@ -0,0 +1 @@ +Subproject commit 8bcf098074c65aac5a73612e214a3b6eb1b2d5f8