diff options
-rw-r--r-- | ale_linters/elm/make.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/elm/make.vim b/ale_linters/elm/make.vim index a6884750..37b8d07c 100644 --- a/ale_linters/elm/make.vim +++ b/ale_linters/elm/make.vim @@ -179,7 +179,7 @@ function! ale_linters#elm#make#IsTest(buffer) abort let l:buffer_path = fnamemodify(bufname(a:buffer), ':p') - if match(l:buffer_path, l:tests_dir) == 0 + if stridx(l:buffer_path, l:tests_dir) == 0 return 1 else return 0 |