Automatically run black and isort on shit

This commit is contained in:
2025-10-19 13:57:16 -05:00
parent cb5bc3020e
commit e7f930b2e2

View File

@@ -28,6 +28,14 @@ set foldmethod=syntax
"nnoremap <space> za "nnoremap <space> za
set nofoldenable " Fuck autofolding set nofoldenable " Fuck autofolding
" ALE
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'python': ['black', 'isort'],
\}
let g:ale_python_isort_options = '--profile black'
let g:ale_fix_on_save = 1
" Lightline " Lightline
set noshowmode set noshowmode
let g:lightline = { let g:lightline = {