diff --git a/.gitmodules b/.gitmodules index 35ee9a73..5839db6e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -689,3 +689,6 @@ [submodule "vendor/grammars/gdscript"] path = vendor/grammars/gdscript url = https://github.com/beefsack/GDScript-sublime +[submodule "vendor/grammars/nesC"] + path = vendor/grammars/nesC + url = https://github.com/cdwilson/nesC.tmbundle diff --git a/grammars.yml b/grammars.yml index 83d3a560..0ee0c32d 100755 --- a/grammars.yml +++ b/grammars.yml @@ -406,6 +406,8 @@ vendor/grammars/moonscript-tmbundle: - source.moonscript vendor/grammars/nemerle.tmbundle: - source.nemerle +vendor/grammars/nesC: +- source.nesc vendor/grammars/ninja.tmbundle: - source.ninja vendor/grammars/objective-c.tmbundle: diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 5e7f83eb..a93edfd0 100755 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -4080,7 +4080,7 @@ nesC: extensions: - .nc ace_mode: text - tm_scope: none + tm_scope: source.nesc ooc: type: programming diff --git a/vendor/grammars/nesC b/vendor/grammars/nesC new file mode 160000 index 00000000..573e09cd --- /dev/null +++ b/vendor/grammars/nesC @@ -0,0 +1 @@ +Subproject commit 573e09cd923ac05956f7892c7f9ce74e079d247d diff --git a/vendor/licenses/grammar/nesC.txt b/vendor/licenses/grammar/nesC.txt new file mode 100644 index 00000000..608f288b --- /dev/null +++ b/vendor/licenses/grammar/nesC.txt @@ -0,0 +1,26 @@ +--- +type: grammar +name: nesC +license: mit +--- +MIT License + +Copyright (c) 2016 Christopher Wilson + +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.