From 91ea482ea6080732e8e600a4b15ae67e85f3a945 Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Fri, 6 May 2016 23:33:05 +0200 Subject: [PATCH] Add grammar for CLIPS back (#2991) --- .gitmodules | 3 +++ grammars.yml | 2 ++ lib/linguist/languages.yml | 2 +- vendor/grammars/sublime-clips | 1 + vendor/licenses/grammar/sublime-clips.txt | 13 +++++++++++++ 5 files changed, 20 insertions(+), 1 deletion(-) create mode 160000 vendor/grammars/sublime-clips create mode 100644 vendor/licenses/grammar/sublime-clips.txt diff --git a/.gitmodules b/.gitmodules index d7f792e4..00caa611 100644 --- a/.gitmodules +++ b/.gitmodules @@ -719,3 +719,6 @@ [submodule "vendor/grammars/TLA"] path = vendor/grammars/TLA url = https://github.com/agentultra/TLAGrammar +[submodule "vendor/grammars/sublime-clips"] + path = vendor/grammars/sublime-clips + url = https://github.com/psicomante/CLIPS-sublime diff --git a/grammars.yml b/grammars.yml index 978ed064..08dc5328 100755 --- a/grammars.yml +++ b/grammars.yml @@ -524,6 +524,8 @@ vendor/grammars/sublime-bsv: - source.bsv vendor/grammars/sublime-cirru: - source.cirru +vendor/grammars/sublime-clips/: +- source.clips vendor/grammars/sublime-glsl: - source.essl - source.glsl diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index ea381594..e235eaf9 100755 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -457,7 +457,7 @@ CLIPS: type: programming extensions: - .clp - tm_scope: none + tm_scope: source.clips ace_mode: text CMake: diff --git a/vendor/grammars/sublime-clips b/vendor/grammars/sublime-clips new file mode 160000 index 00000000..af566eb8 --- /dev/null +++ b/vendor/grammars/sublime-clips @@ -0,0 +1 @@ +Subproject commit af566eb80b1a47d3b54713ad324dfc1d396ed464 diff --git a/vendor/licenses/grammar/sublime-clips.txt b/vendor/licenses/grammar/sublime-clips.txt new file mode 100644 index 00000000..77b0d1d4 --- /dev/null +++ b/vendor/licenses/grammar/sublime-clips.txt @@ -0,0 +1,13 @@ +--- +type: grammar +name: sublime-clips +license: mit +--- +The MIT License (MIT) +Copyright (c) 2016 Roberto "Psicomante" Pesando - https://github.com/psicomante/CLIPS-sublime + +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.