Add RPM Spec files to languages list

This commit is contained in:
Alhadis
2016-08-29 00:25:33 +10:00
parent 6763b73d9c
commit 742faebd8b
5 changed files with 41 additions and 0 deletions

3
.gitmodules vendored
View File

@@ -785,3 +785,6 @@ url = https://github.com/austinwagner/sublime-sourcepawn
[submodule "vendor/grammars/xquery"]
path = vendor/grammars/xquery
url = https://github.com/textmate/xquery.tmbundle
[submodule "vendor/grammars/language-rpm-spec"]
path = vendor/grammars/language-rpm-spec
url = https://github.com/waveclaw/language-rpm-spec

View File

@@ -398,6 +398,9 @@ vendor/grammars/language-roff:
- source.pic
- text.roff
- text.runoff
vendor/grammars/language-rpm-spec:
- source.changelogs.rpm-spec
- source.rpm-spec
vendor/grammars/language-shellscript:
- source.shell
- text.shell-session

View File

@@ -3195,6 +3195,15 @@ RMarkdown:
- .rmd
tm_scope: source.gfm
RPM Spec:
type: data
tm_scope: source.rpm-spec
extensions:
- .spec
aliases:
- specfile
ace_mode: text
RUNOFF:
type: markup
color: "#665a4e"

View File

@@ -0,0 +1,25 @@
---
type: grammar
name: language-rpm-spec
license: mit
---
Copyright (c) 2015 Jeremiah Powell
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.