summaryrefslogtreecommitdiff
path: root/ale_linters/python/mypy.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/python/mypy.vim')
-rw-r--r--ale_linters/python/mypy.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/python/mypy.vim b/ale_linters/python/mypy.vim
index d0a891ea..257a1d39 100644
--- a/ale_linters/python/mypy.vim
+++ b/ale_linters/python/mypy.vim
@@ -4,7 +4,7 @@
let g:ale_python_mypy_options = get(g:, 'ale_python_mypy_options', '')
function! ale_linters#python#mypy#GetCommand(buffer) abort
- let l:automatic_stubs_dir = ale#util#FindNearestDirectory(a:buffer, 'stubs')
+ let l:automatic_stubs_dir = ale#path#FindNearestDirectory(a:buffer, 'stubs')
" TODO: Add Windows support
let l:automatic_stubs_command = (has('unix') && !empty(l:automatic_stubs_dir))
\ ? 'MYPYPATH=' . l:automatic_stubs_dir . ' '