Add new grammar for MSDOS Batchfile highlighting

This commit is contained in:
Alhadis
2016-09-06 16:50:52 +10:00
parent 1ec84da277
commit 98118eb70b
7 changed files with 31 additions and 33 deletions

6
.gitmodules vendored
View File

@@ -412,9 +412,9 @@
[submodule "vendor/grammars/oz-tmbundle"] [submodule "vendor/grammars/oz-tmbundle"]
path = vendor/grammars/oz-tmbundle path = vendor/grammars/oz-tmbundle
url = https://github.com/eregon/oz-tmbundle url = https://github.com/eregon/oz-tmbundle
[submodule "vendor/grammars/ebundles"] [submodule "vendor/grammars/language-batchfile"]
path = vendor/grammars/ebundles path = vendor/grammars/language-batchfile
url = https://github.com/ericzou/ebundles url = https://github.com/mmims/language-batchfile
[submodule "vendor/grammars/sublime-mask"] [submodule "vendor/grammars/sublime-mask"]
path = vendor/grammars/sublime-mask path = vendor/grammars/sublime-mask
url = https://github.com/tenbits/sublime-mask url = https://github.com/tenbits/sublime-mask

View File

@@ -243,8 +243,6 @@ vendor/grammars/dylan.tmbundle:
- source.dylan - source.dylan
- source.lid - source.lid
- source.makegen - source.makegen
vendor/grammars/ebundles/Bundles/MSDOS batch file.tmbundle:
- source.dosbatch
vendor/grammars/ec.tmbundle: vendor/grammars/ec.tmbundle:
- source.c.ec - source.c.ec
vendor/grammars/eiffel.tmbundle: vendor/grammars/eiffel.tmbundle:
@@ -335,6 +333,8 @@ vendor/grammars/language-asn1:
vendor/grammars/language-babel: vendor/grammars/language-babel:
- source.js.jsx - source.js.jsx
- source.regexp.babel - source.regexp.babel
vendor/grammars/language-batchfile:
- source.batchfile
vendor/grammars/language-blade: vendor/grammars/language-blade:
- text.html.php.blade - text.html.php.blade
vendor/grammars/language-click: vendor/grammars/language-click:

View File

@@ -331,7 +331,7 @@ Batchfile:
extensions: extensions:
- .bat - .bat
- .cmd - .cmd
tm_scope: source.dosbatch tm_scope: source.batchfile
ace_mode: batchfile ace_mode: batchfile
color: "#C1F12E" color: "#C1F12E"

View File

@@ -1,26 +0,0 @@
---
type: grammar
name: ebundles
license: mit
curated: true
---
If not otherwise specified (see below), files in this repository (located at https://ebundles.googlecode.com/svn/) fall under the MIT License:
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.
An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”.

View File

@@ -0,0 +1,24 @@
---
type: grammar
name: language-batchfile
license: mit
---
Copyright (c) 2014 Michael Mims
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.