1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 19:02:22 +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:
David Peter
2021-11-28 12:41:38 +01:00
committed by David Peter
parent 747b15436a
commit 3338699257
6 changed files with 1 additions and 39 deletions

View File

@@ -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