From b1f5e93b4aa2c834a565a1b435071607f7bdca0a Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Sat, 19 Mar 2016 20:41:13 -0600 Subject: [PATCH] Merge pull request #2897 from github/pig-latin Adding back Pig Latin grammar --- .gitmodules | 3 +++ grammars.yml | 2 ++ lib/linguist/languages.yml | 2 +- vendor/grammars/pig-latin | 1 + vendor/licenses/grammar/pig-latin.txt | 26 ++++++++++++++++++++++++++ 5 files changed, 33 insertions(+), 1 deletion(-) create mode 160000 vendor/grammars/pig-latin create mode 100644 vendor/licenses/grammar/pig-latin.txt diff --git a/.gitmodules b/.gitmodules index 1c5cd16f..cc0843d4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -680,3 +680,6 @@ [submodule "vendor/grammars/logos"] path = vendor/grammars/logos url = https://github.com/Cykey/Sublime-Logos +[submodule "vendor/grammars/pig-latin"] + path = vendor/grammars/pig-latin + url = https://github.com/goblindegook/sublime-text-pig-latin diff --git a/grammars.yml b/grammars.yml index 07af5ce6..1f478d13 100755 --- a/grammars.yml +++ b/grammars.yml @@ -437,6 +437,8 @@ vendor/grammars/php-smarty.tmbundle: - text.html.smarty vendor/grammars/php.tmbundle: - text.html.php +vendor/grammars/pig-latin/: +- source.pig_latin vendor/grammars/pike-textmate: - source.pike vendor/grammars/postscript.tmbundle: diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 458c4f0a..80d82285 100755 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -2735,7 +2735,7 @@ PigLatin: color: "#fcd7de" extensions: - .pig - tm_scope: none + tm_scope: source.pig_latin ace_mode: text Pike: diff --git a/vendor/grammars/pig-latin b/vendor/grammars/pig-latin new file mode 160000 index 00000000..655bd8b1 --- /dev/null +++ b/vendor/grammars/pig-latin @@ -0,0 +1 @@ +Subproject commit 655bd8b1887d040fe7a0c691c6aa10c279a758b2 diff --git a/vendor/licenses/grammar/pig-latin.txt b/vendor/licenses/grammar/pig-latin.txt new file mode 100644 index 00000000..29118b68 --- /dev/null +++ b/vendor/licenses/grammar/pig-latin.txt @@ -0,0 +1,26 @@ +--- +type: grammar +name: pig-latin +license: mit +--- +The MIT License (MIT) + +Copyright (c) 2016 Luís Rodrigues + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.