diff --git a/.gitmodules b/.gitmodules index 5839db6e..57cc914f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -692,3 +692,6 @@ [submodule "vendor/grammars/nesC"] path = vendor/grammars/nesC url = https://github.com/cdwilson/nesC.tmbundle +[submodule "vendor/grammars/ats"] + path = vendor/grammars/ats + url = https://github.com/steinwaywhw/ats-mode-sublimetext diff --git a/grammars.yml b/grammars.yml index 0ee0c32d..61a3d1d1 100755 --- a/grammars.yml +++ b/grammars.yml @@ -183,6 +183,8 @@ vendor/grammars/atom-language-stan/: vendor/grammars/atom-salt: - source.python.salt - source.yaml.salt +vendor/grammars/ats: +- source.ats vendor/grammars/awk-sublime: - source.awk vendor/grammars/bison.tmbundle: diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index a93edfd0..b7f46155 100755 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -105,7 +105,7 @@ ATS: - .dats - .hats - .sats - tm_scope: none + tm_scope: source.ats ace_mode: ocaml ActionScript: diff --git a/vendor/grammars/ats b/vendor/grammars/ats new file mode 160000 index 00000000..b4f5a7a9 --- /dev/null +++ b/vendor/grammars/ats @@ -0,0 +1 @@ +Subproject commit b4f5a7a9ceaf257ada89cb1068fb170db51cd426 diff --git a/vendor/licenses/grammar/ats.txt b/vendor/licenses/grammar/ats.txt new file mode 100644 index 00000000..b771bd5c --- /dev/null +++ b/vendor/licenses/grammar/ats.txt @@ -0,0 +1,26 @@ +--- +type: grammar +name: ats +license: mit +--- +The MIT License (MIT) + +Copyright (c) 2016 Hanwen (Steinway) Wu + +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.