aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-08-30 23:09:55 +0200
committerKarel Kočí <cynerd@email.cz>2021-08-30 23:09:55 +0200
commit5fa0ad657ed04c0610ba0f95238a045bc644f380 (patch)
tree438f47efa894c5875965d35fb0f647ecc7b3c6f7 /vim/ftplugin
parent46f505dba9c35fa9428472e2cd572d7a9d67f7e6 (diff)
downloadmyconfigs-5fa0ad657ed04c0610ba0f95238a045bc644f380.tar.gz
myconfigs-5fa0ad657ed04c0610ba0f95238a045bc644f380.tar.bz2
myconfigs-5fa0ad657ed04c0610ba0f95238a045bc644f380.zip
vim: tweak python development
Diffstat (limited to 'vim/ftplugin')
-rw-r--r--vim/ftplugin/python.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim
index 81753d3..e50189d 100644
--- a/vim/ftplugin/python.vim
+++ b/vim/ftplugin/python.vim
@@ -1,5 +1,6 @@
setlocal colorcolumn=120
setlocal textwidth=120
-let b:ale_linters = ['pylsp']
-let b:ale_fixers = ['isort', 'black', 'add_blank_lines_for_python_control_statements', 'remove_trailing_lines', 'trim_whitespace']
+let b:ale_linters = ['pylsp', 'pylint']
+let b:ale_fixers = ['isort', 'black', 'remove_trailing_lines', 'trim_whitespace']
+let g:ale_python_black_options = '-l 120'