Move path functions to their own file
This commit is contained in:
parent
6c762237ce
commit
e237add9fd
26 changed files with 90 additions and 89 deletions
|
@ -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 . ' '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue