diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-09-01 14:56:04 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-09-01 14:56:04 -0400 |
commit | 2cc2364562b38fc76fd6db9443a0ce7c73895f09 (patch) | |
tree | 2835b792dfe35b4db4b7f5ee4869089127b41e7f /vim/ftplugin | |
parent | d5cca214e586f6d91080340a607ad94e3f241c7c (diff) | |
download | conf-2cc2364562b38fc76fd6db9443a0ce7c73895f09.tar.gz conf-2cc2364562b38fc76fd6db9443a0ce7c73895f09.zip |
tweak vim python config
Diffstat (limited to 'vim/ftplugin')
-rw-r--r-- | vim/ftplugin/python.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim index d943848..31b419c 100644 --- a/vim/ftplugin/python.vim +++ b/vim/ftplugin/python.vim @@ -12,4 +12,8 @@ endfunction nnoremap <buffer> <silent>K :call Help(0, ['.'], '<SID>pydoc')<CR> vnoremap <buffer> <silent>K :call Help(1, ['.'], '<SID>pydoc')<CR> -let b:ale_python_pylint_options = '--disable=missing-module-docstring,missing-function-docstring,too-many-locals,too-many-branches' +map <buffer> <CR> :ALEGoToDefinition<CR> + +let b:ale_fixers = { 'python': ['black', 'isort'] } +let b:ale_fix_on_save = 1 +let b_ale_python_flake8_options = '--max-line-length 1000'
\ No newline at end of file |