diff options
| author | Anton Bobov <anton@bobov.name> | 2024-07-01 11:36:23 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2024-07-09 22:53:57 +0500 |
| commit | 60ccb60409809afdde932e12b67dfe7d14c567a6 (patch) | |
| tree | 9edceeebdf060b783832c7c3451e7344a6f82e42 /files/.vimrc | |
| parent | ab3a1f5d3c54b65f851bf88c623b5c953c17db62 (diff) | |
[vim] Add python ALE fixers
Diffstat (limited to 'files/.vimrc')
| -rw-r--r-- | files/.vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/files/.vimrc b/files/.vimrc index 46c2992..0f2463f 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -683,6 +683,7 @@ let g:ale_fixers = {} let g:ale_fixers['*'] = ['remove_trailing_lines', 'trim_whitespace'] let g:ale_fixers.json = ['jq'] let g:ale_fixers.sh = ['shfmt'] +let g:ale_fixers.python = ['black', 'ruff', 'ruff_format'] let g:ale_sign_error = 'x' let g:ale_sign_warning = '!' let g:ale_echo_msg_format = '[%linter%] %s [%severity%]' |
