aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-11-15 15:56:57 +0100
committerKarel Kočí <cynerd@email.cz>2022-11-15 15:56:57 +0100
commit43d8312f5cf165f8574b489c68dc32c8cd296745 (patch)
tree2ea64b9ade3d33cd3bc1a2b307588be280189171 /vim/ftplugin
parent9b81c54bf827d60427560585aae31d68db6fc746 (diff)
downloadmyconfigs-43d8312f5cf165f8574b489c68dc32c8cd296745.tar.gz
myconfigs-43d8312f5cf165f8574b489c68dc32c8cd296745.tar.bz2
myconfigs-43d8312f5cf165f8574b489c68dc32c8cd296745.zip
python: go for PEP 8 number of columns
Diffstat (limited to 'vim/ftplugin')
-rw-r--r--vim/ftplugin/python.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim
index 1eda902..6e9145a 100644
--- a/vim/ftplugin/python.vim
+++ b/vim/ftplugin/python.vim
@@ -1,6 +1,5 @@
-setlocal colorcolumn=120
-setlocal textwidth=120
+setlocal colorcolumn=80
+setlocal textwidth=80
let b:ale_linters = ['pylsp', 'pylint', 'mypy', 'pydocstyle']
let b:ale_fixers = ['isort', 'black', 'remove_trailing_lines', 'trim_whitespace']
-let g:ale_python_black_options = '-l 120'