vim-config/after/ftplugin/python.vim
2018-10-11 14:54:47 +08:00

15 lines
346 B
VimL

let g:ale_linters = {'python':['mypy']}
let g:ale_python_mypy_options = '--no-warn-incomplete-stub --ignore-missing-imports'
let g:ale_python_pycodestyle_options = '--ignore=W391'
let g:neoformat_enabled_python = ['autopep8']
augroup fmt
autocmd!
autocmd BufWritePre * undojoin | Neoformat
augroup END
let g:jedi#completions_enabled = 0