mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-25 09:13:39 +01:00
Remove the 'requirements.txt' syntax
This is needed because the syntax is only available under GPL v3.0, which is not compatible with `bat`s license.
This commit is contained in:
parent
747b15436a
commit
3338699257
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -113,9 +113,6 @@
|
|||||||
[submodule "assets/syntaxes/Org mode"]
|
[submodule "assets/syntaxes/Org mode"]
|
||||||
path = assets/syntaxes/02_Extra/Org mode
|
path = assets/syntaxes/02_Extra/Org mode
|
||||||
url = https://github.com/jezcope/Org.tmbundle.git
|
url = https://github.com/jezcope/Org.tmbundle.git
|
||||||
[submodule "assets/syntaxes/requirementstxt"]
|
|
||||||
path = assets/syntaxes/02_Extra/requirementstxt
|
|
||||||
url = https://github.com/wuub/requirementstxt
|
|
||||||
[submodule "assets/syntaxes/DotENV"]
|
[submodule "assets/syntaxes/DotENV"]
|
||||||
path = assets/syntaxes/02_Extra/DotENV
|
path = assets/syntaxes/02_Extra/DotENV
|
||||||
url = https://github.com/zaynali53/DotENV
|
url = https://github.com/zaynali53/DotENV
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
- Racket, see #1884 (@jubnzv)
|
- Racket, see #1884 (@jubnzv)
|
||||||
- LiveScript, see #1915 (@Enselic)
|
- LiveScript, see #1915 (@Enselic)
|
||||||
- MediaWiki, see #1925 (@sorairolake)
|
- MediaWiki, see #1925 (@sorairolake)
|
||||||
|
- The `requirements.txt` syntax has been removed due to incompatible license requirements.
|
||||||
|
|
||||||
## New themes
|
## New themes
|
||||||
|
|
||||||
|
1
assets/syntaxes/02_Extra/requirementstxt
vendored
1
assets/syntaxes/02_Extra/requirementstxt
vendored
@ -1 +0,0 @@
|
|||||||
Subproject commit 775e6dd62aa16f7b28632a200882ff6ad0315b01
|
|
@ -1,19 +0,0 @@
|
|||||||
%YAML 1.2
|
|
||||||
---
|
|
||||||
# http://www.sublimetext.com/docs/3/syntax.html
|
|
||||||
name: requirements.txt
|
|
||||||
file_extensions:
|
|
||||||
- requirements.txt
|
|
||||||
scope: source.requirementstxt
|
|
||||||
contexts:
|
|
||||||
main:
|
|
||||||
- match: (#).*$\n?
|
|
||||||
scope: comment.line.requirementstxt
|
|
||||||
captures:
|
|
||||||
1: punctuation.definition.comment.requirementstxt
|
|
||||||
- match: '(?i)^[a-z0-9_\-\.]+'
|
|
||||||
scope: string.package_name.requirementstxt
|
|
||||||
- match: (?i)==|<|<=|>=|>
|
|
||||||
scope: keyword.operator.logical.punctuation.requirementstxt
|
|
||||||
- match: '(?i)\d+\.[\da-z\-_\.]*'
|
|
||||||
scope: constant.numeric.verions.requirementstxt
|
|
@ -1,8 +0,0 @@
|
|||||||
[38;2;117;113;94m#[0m[38;2;117;113;94mthis is a sample requirements.txt file[0m
|
|
||||||
|
|
||||||
[38;2;230;219;116mdjango[0m[38;2;249;38;114m==[0m[38;2;190;132;255m11.2.0[0m
|
|
||||||
[38;2;230;219;116mpywheels[0m[38;2;249;38;114m>=[0m[38;2;190;132;255m12.4[0m[38;2;248;248;242m [0m[38;2;117;113;94m#[0m[38;2;117;113;94ma whitespace followed by comments[0m
|
|
||||||
[38;2;230;219;116mNuitka[0m[38;2;249;38;114m<[0m[38;2;190;132;255m0.6.8.4[0m
|
|
||||||
[38;2;230;219;116mwxPython[0m[38;2;249;38;114m>=[0m[38;2;190;132;255m1.0[0m[38;2;248;248;242m, [0m[38;2;249;38;114m<[0m[38;2;248;248;242m=[0m[38;2;190;132;255m2.1[0m
|
|
||||||
|
|
||||||
[38;2;117;113;94m#[0m[38;2;117;113;94mthis is another comment[0m
|
|
@ -1,8 +0,0 @@
|
|||||||
#this is a sample requirements.txt file
|
|
||||||
|
|
||||||
django==11.2.0
|
|
||||||
pywheels>=12.4 #a whitespace followed by comments
|
|
||||||
Nuitka<0.6.8.4
|
|
||||||
wxPython>=1.0, <=2.1
|
|
||||||
|
|
||||||
#this is another comment
|
|
Loading…
Reference in New Issue
Block a user