Set ALE options for Python in Vim and Neovim

This commit is contained in:
Dionisio E Alonso 2019-04-22 22:15:34 -03:00
parent bcd5692bf0
commit a094ceeb1a
2 changed files with 14 additions and 0 deletions

View File

@ -34,6 +34,13 @@ endif
" Extras
let g:indentLine_char = '⦙'
let g:ale_linters = {
\ 'python': ['flake8', 'pyls', 'pylint']
\}
let g:ale_completion_enabled = v:true
let g:ale_python_pylint_options = '--disable=missing-docstring,invalid-name,'.
\ 'redefined-outer-name'
if has('autocmd')
augroup TerminalStuff
autocmd!

View File

@ -33,6 +33,13 @@ endif
" Extras
let g:indentLine_char = '⦙'
let g:ale_linters = {
\ 'python': ['flake8', 'pyls', 'pylint']
\}
let g:ale_completion_enabled = v:true
let g:ale_python_pylint_options = '--disable=missing-docstring,invalid-name,'.
\ 'redefined-outer-name'
command -nargs=? Terminal terminal ++rows=16 <args>
nnoremap <silent> <leader>tt :terminal ++rows=16<CR>