diff --git a/.gitmodules b/.gitmodules index 64144255..63f36951 100644 --- a/.gitmodules +++ b/.gitmodules @@ -803,3 +803,6 @@ [submodule "vendor/grammars/EBNF.tmbundle"] path = vendor/grammars/EBNF.tmbundle url = https://github.com/sanssecours/EBNF.tmbundle +[submodule "vendor/grammars/rascal-syntax-highlighting"] + path = vendor/grammars/rascal-syntax-highlighting + url = https://github.com/usethesource/rascal-syntax-highlighting diff --git a/grammars.yml b/grammars.yml index 806c1f95..5a93eca2 100755 --- a/grammars.yml +++ b/grammars.yml @@ -531,6 +531,8 @@ vendor/grammars/python-django.tmbundle: vendor/grammars/r.tmbundle: - source.r - text.tex.latex.rd +vendor/grammars/rascal-syntax-highlighting: +- source.rascal vendor/grammars/ruby-haml.tmbundle: - text.haml vendor/grammars/ruby-slim.tmbundle: diff --git a/vendor/grammars/rascal-syntax-highlighting b/vendor/grammars/rascal-syntax-highlighting new file mode 160000 index 00000000..3f0d87fe --- /dev/null +++ b/vendor/grammars/rascal-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit 3f0d87fef146edf4c1d8bccbfe6e35b90b31fedf diff --git a/vendor/licenses/grammar/rascal-syntax-highlighting.txt b/vendor/licenses/grammar/rascal-syntax-highlighting.txt new file mode 100644 index 00000000..5506b61b --- /dev/null +++ b/vendor/licenses/grammar/rascal-syntax-highlighting.txt @@ -0,0 +1,30 @@ +--- +type: grammar +name: rascal-syntax-highlighting +license: bsd-2-clause +--- +BSD 2-Clause License + +Copyright (c) 2016, Ahmad Salim Al-Sibahi +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.