mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-01 19:02:22 +01:00
Add Requirementstxt.sublime-syntax and its test.
This commit is contained in:
40
tests/syntax-tests/highlighted/Requirements.txt/requirements.txt
vendored
Normal file
40
tests/syntax-tests/highlighted/Requirements.txt/requirements.txt
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
[38;2;117;113;94m#[0m[38;2;117;113;94m Options[0m
|
||||
[38;2;166;226;46m--allow-external[0m
|
||||
[38;2;166;226;46m--allow-unverified[0m
|
||||
|
||||
[38;2;117;113;94m#[0m[38;2;117;113;94m Freeze packages[0m
|
||||
[3;38;2;253;151;31malabaster[0m[38;2;249;38;114m==[0m[38;2;190;132;255m0.7.6[0m
|
||||
[3;38;2;253;151;31mBabel[0m[38;2;249;38;114m>=[0m[38;2;190;132;255m2.9.1[0m
|
||||
[3;38;2;253;151;31mdocutils[0m[38;2;249;38;114m==[0m[38;2;190;132;255m0.12[0m
|
||||
[3;38;2;253;151;31mgevent_subprocess[0m[38;2;249;38;114m==[0m[38;2;190;132;255m0.1.2[0m
|
||||
[3;38;2;253;151;31mgitpython[0m[38;2;249;38;114m==[0m[38;2;190;132;255m3.0.7[0m
|
||||
[3;38;2;253;151;31mhg-diff[0m[38;2;249;38;114m==[0m[38;2;190;132;255m1.2.4[0m
|
||||
[3;38;2;253;151;31mJinja2[0m[38;2;249;38;114m>=[0m[38;2;190;132;255m2.8.1[0m
|
||||
[3;38;2;253;151;31mMarkupSafe[0m[38;2;249;38;114m==[0m[38;2;190;132;255m0.23[0m
|
||||
[3;38;2;253;151;31mPygments[0m[38;2;249;38;114m==[0m[38;2;190;132;255m2.7.4[0m
|
||||
[3;38;2;253;151;31mpytz[0m[38;2;249;38;114m==[0m[38;2;190;132;255m2015.7[0m
|
||||
[3;38;2;253;151;31msix[0m[38;2;249;38;114m==[0m[38;2;190;132;255m1.10.0[0m
|
||||
[3;38;2;253;151;31msnowballstemmer[0m[38;2;249;38;114m==[0m[38;2;190;132;255m1.2.0[0m
|
||||
[3;38;2;253;151;31mSphinx[0m[38;2;249;38;114m==[0m[38;2;190;132;255m1.3.3[0m
|
||||
[3;38;2;253;151;31msphinx-rtd-theme[0m[38;2;249;38;114m==[0m[38;2;190;132;255m0.1.9[0m
|
||||
[3;38;2;253;151;31msvn[0m[38;2;249;38;114m==[0m[38;2;190;132;255m1.0.1[0m
|
||||
[3;38;2;253;151;31mzope.interface[0m[38;2;249;38;114m==[0m[38;2;190;132;255m4.2.0[0m
|
||||
|
||||
[38;2;117;113;94m#[0m[38;2;117;113;94m Examples from PEP508[0m
|
||||
[38;2;117;113;94m#[0m[38;2;117;113;94m c.f. https://www.python.org/dev/peps/pep-0508/[0m
|
||||
[3;38;2;253;151;31mrequests[0m[38;2;248;248;242m [0m[38;2;248;248;242m[[0m[38;2;248;248;242msecurity[0m[38;2;248;248;242m,[0m[38;2;248;248;242mtests[0m[38;2;248;248;242m][0m[38;2;248;248;242m [0m[38;2;249;38;114m>=[0m[38;2;248;248;242m [0m[38;2;190;132;255m2.8.1[0m[38;2;248;248;242m, [0m[38;2;249;38;114m==[0m[38;2;248;248;242m [0m[38;2;190;132;255m2.8.*[0m[38;2;248;248;242m [0m[38;2;248;248;242m;[0m[38;2;248;248;242m [0m[38;2;255;255;255mpython_version[0m[38;2;248;248;242m [0m[38;2;249;38;114m<[0m[38;2;248;248;242m [0m[38;2;230;219;116m"[0m[38;2;230;219;116m2.7[0m[38;2;230;219;116m"[0m[38;2;248;248;242m [0m[38;2;117;113;94m#[0m[38;2;117;113;94m Comment[0m
|
||||
[3;38;2;253;151;31mpip[0m[38;2;248;248;242m [0m[4;38;2;166;226;46m@ [0m[4;38;2;166;226;46mhttps://github.com/pypa/pip/archive/1.3.1.zip#sha1=da9234ee9982d4bbb3c72346a6de940a148ea686[0m
|
||||
[3;38;2;253;151;31mname[0m[38;2;248;248;242m [0m[4;38;2;166;226;46m@ [0m[4;38;2;166;226;46mgopher:/foo/com"[0m
|
||||
[3;38;2;253;151;31mfoobar[0m[38;2;248;248;242m[[0m[38;2;248;248;242mquux[0m[38;2;248;248;242m][0m[38;2;249;38;114m<[0m[38;2;190;132;255m2[0m[38;2;248;248;242m,[0m[38;2;249;38;114m>=[0m[38;2;190;132;255m3[0m[38;2;248;248;242m;[0m[38;2;248;248;242m [0m[38;2;255;255;255mos_name[0m[38;2;249;38;114m==[0m[38;2;230;219;116m'[0m[38;2;230;219;116ma[0m[38;2;230;219;116m'[0m
|
||||
|
||||
[38;2;117;113;94m#[0m[38;2;117;113;94m VCS repositories[0m
|
||||
[38;2;166;226;46m-e[0m[38;2;248;248;242m [0m[4;38;2;166;226;46mgit+git://git.myproject.org/MyProject#egg=MyProject[0m[38;2;248;248;242m [0m[38;2;117;113;94m#[0m[38;2;117;113;94m Git[0m
|
||||
[38;2;166;226;46m-e[0m[38;2;248;248;242m [0m[4;38;2;166;226;46mgit://git.myproject.org/MyProject.git@v1.0#egg=MyProject[0m
|
||||
[38;2;166;226;46m-e[0m[38;2;248;248;242m [0m[4;38;2;166;226;46mhg+https://hg.myproject.org/MyProject#egg=MyProject[0m[38;2;248;248;242m [0m[38;2;117;113;94m#[0m[38;2;117;113;94m Mercurial[0m
|
||||
[38;2;166;226;46m-e[0m[38;2;248;248;242m [0m[4;38;2;166;226;46mhg+http://hg.myproject.org/MyProject@da39a3ee5e6b#egg=MyProject[0m
|
||||
[38;2;166;226;46m-e[0m[38;2;248;248;242m [0m[4;38;2;166;226;46msvn+http://svn.myproject.org/svn/MyProject/trunk@2019#egg=MyProject[0m[38;2;248;248;242m [0m[38;2;117;113;94m#[0m[38;2;117;113;94m Subversion[0m
|
||||
[38;2;166;226;46m-e[0m[38;2;248;248;242m [0m[4;38;2;166;226;46mbzr+ssh://user@myproject.org/MyProject/trunk#egg=MyProject[0m[38;2;248;248;242m [0m[38;2;117;113;94m#[0m[38;2;117;113;94m Bazaar[0m
|
||||
[38;2;166;226;46m-e[0m[38;2;248;248;242m [0m[4;38;2;166;226;46mbzr+https://bzr.myproject.org/MyProject/trunk@2019#egg=MyProject[0m
|
||||
|
||||
[38;2;117;113;94m#[0m[38;2;117;113;94m Project or archive URL[0m
|
||||
[4;38;2;166;226;46mhttps://github.com/pallets/click/archive/7.0.zip#egg=click[0m
|
40
tests/syntax-tests/source/Requirements.txt/requirements.txt
vendored
Normal file
40
tests/syntax-tests/source/Requirements.txt/requirements.txt
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
# Options
|
||||
--allow-external
|
||||
--allow-unverified
|
||||
|
||||
# Freeze packages
|
||||
alabaster==0.7.6
|
||||
Babel>=2.9.1
|
||||
docutils==0.12
|
||||
gevent_subprocess==0.1.2
|
||||
gitpython==3.0.7
|
||||
hg-diff==1.2.4
|
||||
Jinja2>=2.8.1
|
||||
MarkupSafe==0.23
|
||||
Pygments==2.7.4
|
||||
pytz==2015.7
|
||||
six==1.10.0
|
||||
snowballstemmer==1.2.0
|
||||
Sphinx==1.3.3
|
||||
sphinx-rtd-theme==0.1.9
|
||||
svn==1.0.1
|
||||
zope.interface==4.2.0
|
||||
|
||||
# Examples from PEP508
|
||||
# c.f. https://www.python.org/dev/peps/pep-0508/
|
||||
requests [security,tests] >= 2.8.1, == 2.8.* ; python_version < "2.7" # Comment
|
||||
pip @ https://github.com/pypa/pip/archive/1.3.1.zip#sha1=da9234ee9982d4bbb3c72346a6de940a148ea686
|
||||
name @ gopher:/foo/com"
|
||||
foobar[quux]<2,>=3; os_name=='a'
|
||||
|
||||
# VCS repositories
|
||||
-e git+git://git.myproject.org/MyProject#egg=MyProject # Git
|
||||
-e git://git.myproject.org/MyProject.git@v1.0#egg=MyProject
|
||||
-e hg+https://hg.myproject.org/MyProject#egg=MyProject # Mercurial
|
||||
-e hg+http://hg.myproject.org/MyProject@da39a3ee5e6b#egg=MyProject
|
||||
-e svn+http://svn.myproject.org/svn/MyProject/trunk@2019#egg=MyProject # Subversion
|
||||
-e bzr+ssh://user@myproject.org/MyProject/trunk#egg=MyProject # Bazaar
|
||||
-e bzr+https://bzr.myproject.org/MyProject/trunk@2019#egg=MyProject
|
||||
|
||||
# Project or archive URL
|
||||
https://github.com/pallets/click/archive/7.0.zip#egg=click
|
Reference in New Issue
Block a user