Files
nvim/ale.vim
2021-03-30 20:01:47 +02:00

15 lines
294 B
VimL

" Defines a specific list of linters, that you wish to use for a language
" Install the flake8, python-pylint packages
let g:ale_linters = {
\ 'python': ['flake8', 'pylint'],
\}
let g:ale_fixers = {
\ 'python': ['yapf'],
\}
nmap <F10> :ALEFix<CR>
let g:ale_fix_on_save = 1