summaryrefslogtreecommitdiff
path: root/ale_linters/python
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-17 23:29:02 +0100
committerw0rp <devw0rp@gmail.com>2017-04-17 23:29:02 +0100
commite237add9fdec64c80ed57f383e2b73464fb4b43d (patch)
treec7a958526e3048c3457359de435fd8ee83ab07b6 /ale_linters/python
parent6c762237cea0dd29fc95d3cbbb9787213f581ef3 (diff)
downloadale-e237add9fdec64c80ed57f383e2b73464fb4b43d.zip
Move path functions to their own file
Diffstat (limited to 'ale_linters/python')
-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 . ' '