update: ALE python settings

This commit is contained in:
ManjaroOne666 2019-01-18 20:51:03 +00:00
parent 39cdd93b10
commit 1fd5e44cc4
1 changed files with 3 additions and 1 deletions

4
vimrc
View File

@ -188,12 +188,14 @@ if g:vimrc_load_dev_plugins
" when coc enabled
" let g:ale_linters = {'scss': ['stylelint'], 'javascript': [], 'php':['php'], 'html':['htmlhint'], 'python': [], 'vue': []}
" when coc not enabled
let g:ale_linters = {'scss': ['stylelint'], 'javascript': ['eslint'], 'php':['php'], 'html':['htmlhint'], 'python': [], 'vue': ['eslint']}
let g:ale_linters = {'scss': ['stylelint'], 'javascript': ['eslint'], 'php':['php'], 'python': ['flake8'], 'html':['htmlhint'], 'vue': ['eslint']}
let g:ale_html_htmlhint_options = '-c ~/.htmlhintrc --format=unix'
let g:ale_fixers = {'javascript': ['eslint'], 'vue': ['eslint']}
let g:ale_sign_error = 'Α'
let g:ale_sign_warning = 'α'
let g:ale_lint_on_text_changed = 'never'
let g:ale_lint_on_enter = 0
nmap <space>af <Plug>(ale_fix)