diff options
author | Karel Kočí <cynerd@email.cz> | 2021-08-30 23:09:55 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2021-08-30 23:09:55 +0200 |
commit | 5fa0ad657ed04c0610ba0f95238a045bc644f380 (patch) | |
tree | 438f47efa894c5875965d35fb0f647ecc7b3c6f7 | |
parent | 46f505dba9c35fa9428472e2cd572d7a9d67f7e6 (diff) | |
download | myconfigs-5fa0ad657ed04c0610ba0f95238a045bc644f380.tar.gz myconfigs-5fa0ad657ed04c0610ba0f95238a045bc644f380.tar.bz2 myconfigs-5fa0ad657ed04c0610ba0f95238a045bc644f380.zip |
vim: tweak python development
-rw-r--r-- | vim/ftplugin/python.vim | 5 | ||||
-rw-r--r-- | vimrc | 1 |
2 files changed, 4 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' @@ -43,6 +43,7 @@ Plugin 'chr4/nginx.vim' Plugin 'LnL7/vim-nix' Plugin 'gisphm/vim-gitignore' Plugin 'aliou/bats.vim' +Plugin 'Glench/Vim-Jinja2-Syntax' " Files navigation Plugin 'kien/ctrlp.vim' " Grammer |