summaryrefslogtreecommitdiffstats
path: root/build.py
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-08-18 23:31:31 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-08-18 23:31:31 +0200
commit0df1bfa0c5f3efb6688566d5656a330034772037 (patch)
treea5c04d333061876bc3ecc2ba4b93e9043d0b8270 /build.py
parentf7302d92629d29eb970c3d5fbb2f76ae6d6cf50a (diff)
downloadvim-polyglot-0df1bfa0c5f3efb6688566d5656a330034772037.tar.gz
vim-polyglot-0df1bfa0c5f3efb6688566d5656a330034772037.zip
Add requirements.txt support, closes #507v4.5.0
Diffstat (limited to 'build.py')
-rwxr-xr-xbuild.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.py b/build.py
index 24243b00..6b3aa282 100755
--- a/build.py
+++ b/build.py
@@ -257,6 +257,7 @@ language("Jsonnet")
language("Fennel", extensions=[".fnl"])
language("mcfunction")
language("JSONiq", extra_filenames=[".jqrc"], filetype="jq", polyglot="jq")
+language("Requirements", extensions=[".pip"], filenames=["*requirements.{txt,in}", "*require.{txt,in}", "constraints.{txt,in}"])
lines.append('" restore Vi compatibility settings')
lines.append('let &cpo = s:cpo_save')