Merge pull request #3038 from Alhadis/rst-switch

Switch grammar used for reStructuredText highlighting
This commit is contained in:
Arfon Smith
2016-06-05 10:22:03 -06:00
committed by GitHub
6 changed files with 32 additions and 21 deletions

6
.gitmodules vendored
View File

@@ -364,9 +364,6 @@
[submodule "vendor/grammars/r.tmbundle"] [submodule "vendor/grammars/r.tmbundle"]
path = vendor/grammars/r.tmbundle path = vendor/grammars/r.tmbundle
url = https://github.com/textmate/r.tmbundle url = https://github.com/textmate/r.tmbundle
[submodule "vendor/grammars/restructuredtext.tmbundle"]
path = vendor/grammars/restructuredtext.tmbundle
url = https://github.com/textmate/restructuredtext.tmbundle
[submodule "vendor/grammars/ruby-haml.tmbundle"] [submodule "vendor/grammars/ruby-haml.tmbundle"]
path = vendor/grammars/ruby-haml.tmbundle path = vendor/grammars/ruby-haml.tmbundle
url = https://github.com/textmate/ruby-haml.tmbundle url = https://github.com/textmate/ruby-haml.tmbundle
@@ -737,6 +734,9 @@
[submodule "vendor/grammars/Elm"] [submodule "vendor/grammars/Elm"]
path = vendor/grammars/Elm path = vendor/grammars/Elm
url = https://github.com/elm-community/Elm.tmLanguage url = https://github.com/elm-community/Elm.tmLanguage
[submodule "vendor/grammars/language-restructuredtext"]
path = vendor/grammars/language-restructuredtext
url = https://github.com/Lukasa/language-restructuredtext
[submodule "vendor/grammars/atom-language-clean"] [submodule "vendor/grammars/atom-language-clean"]
path = vendor/grammars/atom-language-clean path = vendor/grammars/atom-language-clean
url = https://github.com/timjs/atom-language-clean.git url = https://github.com/timjs/atom-language-clean.git

View File

@@ -377,6 +377,8 @@ vendor/grammars/language-python:
- text.python.traceback - text.python.traceback
vendor/grammars/language-renpy: vendor/grammars/language-renpy:
- source.renpy - source.renpy
vendor/grammars/language-restructuredtext:
- text.restructuredtext
vendor/grammars/language-shellscript: vendor/grammars/language-shellscript:
- source.shell - source.shell
- text.shell-session - text.shell-session
@@ -492,8 +494,6 @@ vendor/grammars/python-django.tmbundle:
vendor/grammars/r.tmbundle: vendor/grammars/r.tmbundle:
- source.r - source.r
- text.tex.latex.rd - text.tex.latex.rd
vendor/grammars/restructuredtext.tmbundle:
- text.restructuredtext
vendor/grammars/ruby-haml.tmbundle: vendor/grammars/ruby-haml.tmbundle:
- text.haml - text.haml
vendor/grammars/ruby-slim.tmbundle: vendor/grammars/ruby-slim.tmbundle:

View File

@@ -0,0 +1,26 @@
---
type: grammar
name: language-restructuredtext
license: mit
---
MIT License
Copyright (c) 2014-2016 Cory Benfield
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.

View File

@@ -1,15 +0,0 @@
---
type: grammar
name: restructuredtext.tmbundle
license: permissive
curated: true
---
If not otherwise specified (see below), files in this repository fall under the following license:
Permission to copy, use, modify, sell and distribute this
software is granted. This software is provided "as is" without
express or implied warranty, and with no claim as to its
suitability for any purpose.
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”.