Fix python lsp helpers

This commit is contained in:
sfigato 2021-09-06 22:49:37 +02:00
parent 54183b69fa
commit c69a1b829d
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

View File

@ -32,12 +32,16 @@ function! ChangePythonLineLength() abort
let &l:colorcolumn = l:line_length + 1 let &l:colorcolumn = l:line_length + 1
endfunction endfunction
" call ChangePythonLineLength() call ChangePythonLineLength()
let b:ale_linters = ['flake8', 'mypy'] let b:ale_linters = [
"\ 'flake8',
\ 'mypy',
\ 'pyls',
\]
let b:ale_fixers = [ let b:ale_fixers = [
\ 'autopep8', "\ 'autopep8',
\ 'yapf', "\ 'yapf',
\ 'black', \ 'black',
\] \]
let b:ale_completion_excluded_words = ['and', 'or', 'if'] let b:ale_completion_excluded_words = ['and', 'or', 'if']