diff --git a/after/ftplugin/python.vim b/after/ftplugin/python.vim new file mode 100644 index 0000000..60affea --- /dev/null +++ b/after/ftplugin/python.vim @@ -0,0 +1,14 @@ +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 diff --git a/vimrc b/vimrc index 07aede9..36ca04b 100644 --- a/vimrc +++ b/vimrc @@ -129,6 +129,8 @@ Plug 'pangloss/vim-javascript', { 'for': 'javascript' } " python Plug 'icedwater/vimpython', { 'for': 'python' } +Plug 'zchee/deoplete-jedi', { 'for': 'python' } +Plug 'davidhalter/jedi-vim', { 'for': 'python' } " scala Plug 'derekwyatt/vim-scala', { 'for': 'scala' }