From 1fd5e44cc4404705b64cf4bb4026abe2daf0238c Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Fri, 18 Jan 2019 20:51:03 +0000 Subject: [PATCH] update: ALE python settings --- vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index e802d91..09aba1c 100644 --- a/vimrc +++ b/vimrc @@ -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 af (ale_fix)