nixpkgs/home/programs/neovim/patches/test_extend_codeception_detection.patch

15 lines
537 B
Diff
Raw Normal View History

Open PR: https://github.com/vim-test/vim-test/pull/654
diff --git a/autoload/test/php/codeception.vim b/autoload/test/php/codeception.vim
index e1fc4ed..d627dd5 100644
--- a/autoload/test/php/codeception.vim
+++ b/autoload/test/php/codeception.vim
@@ -5,7 +5,7 @@ endif
function! test#php#codeception#test_file(file) abort
if a:file =~# g:test#php#codeception#file_pattern
- return filereadable('./codeception.yml')
+ return filereadable('./codeception.yml') || filereadable('./codeception.dist.yml')
endif
endfunction