Ruff it up a bit

This commit is contained in:
2026-03-25 14:33:22 -05:00
parent 96e5f4763a
commit 85471835ea

View File

@@ -31,16 +31,20 @@ set nofoldenable " Fuck autofolding
" ALE
let g:ale_completion_enabled = 1
set completeopt=menu,menuone,noselect
let g:ale_linters = {
\ 'python': ['pylsp'],
\ 'python': ['pylsp', 'ruff'],
\}
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'python': ['black', 'isort'],
\ 'python': ['ruff'],
\}
let g:ale_python_isort_options = '--profile black'
let g:ale_fix_on_save = 1
" Tab completion on ALE
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<BS>"
" Lightline
set noshowmode
let g:lightline = {