diff --git a/vimrc b/vimrc index 4d82498..fd650dc 100644 --- a/vimrc +++ b/vimrc @@ -179,14 +179,25 @@ if g:vimrc_load_dev_plugins let g:ale_sign_column_always = 1 let g:ale_open_list = 0 + let g:ale_fix_on_save = 1 " 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': ['tsserver', 'eslint'], 'json': ['jsonlint'], 'php':['php'], 'python': ['pyls', 'flake8'], 'html':['htmlhint'], 'vue': ['vls', 'eslint']} + let g:ale_linters = {'scss': ['stylelint'], 'javascript': ['tsserver', 'eslint'], 'json': ['jsonlint'], 'php':['php'], 'python': ['pyls'], 'html':['htmlhint'], 'vue': ['vls', 'eslint']} + let g:ale_fixers = {'javascript': ['eslint'], 'json': ['jq'], 'python': ['black'], 'vue': ['eslint']} let g:ale_html_htmlhint_options = '-c ~/.htmlhintrc --format=unix' - let g:ale_fixers = {'javascript': ['eslint'], 'json': ['jq'], 'python': ['black'], 'vue': ['eslint']} + + let g:ale_python_pyls_config = { +\ 'pyls': { +\ 'pycodestyle': { +\ 'enabled': v:false +\ } +\ } +\ } + let g:ale_sign_error = 'Α' let g:ale_sign_warning = 'α'