More python stuff
This commit is contained in:
parent
2fa24865db
commit
d5490493af
14
after/ftplugin/python.vim
Normal file
14
after/ftplugin/python.vim
Normal file
@ -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
|
2
vimrc
2
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' }
|
||||
|
Loading…
Reference in New Issue
Block a user