Support filename of the Constraints File

This commit is contained in:
raimon
2016-12-03 22:48:42 +09:00
parent 11b73c1d44
commit fef6493379
2 changed files with 5 additions and 0 deletions

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