Support filename of the Constraints File

This commit is contained in:
raimon committed 2016-12-03 22:48:42 +09:00
1 parent 11b73c1d44
commit fef6493379
2 files changed
+5

No files matched your search

+1
View File
@@ -0,0 +1 @@
requirements.txt
+4
View File
@@ -22,6 +22,10 @@ function! Requirements_matched_filename(filename)
return 1
endif
if a:filename =~# '\v.constraints\.(txt|in)$'
return 1
endif
if len(g:requirements#detect_filename_pattern)
\ && a:filename =~# g:requirements#detect_filename_pattern
return 1