update: ALE config

This commit is contained in:
ManjaroOne666 2019-01-19 13:26:15 +00:00
parent 74cde5f75a
commit 80cdfee138
1 changed files with 1 additions and 1 deletions

2
vimrc
View File

@ -189,7 +189,7 @@ if g:vimrc_load_dev_plugins
" when coc enabled " when coc enabled
" let g:ale_linters = {'scss': ['stylelint'], 'javascript': [], 'php':['php'], 'html':['htmlhint'], 'python': [], 'vue': []} " let g:ale_linters = {'scss': ['stylelint'], 'javascript': [], 'php':['php'], 'html':['htmlhint'], 'python': [], 'vue': []}
" when coc not enabled " when coc not enabled
let g:ale_linters = {'scss': ['stylelint'], 'javascript': ['tsserver', 'eslint'], 'json': ['jsonlint'], 'php':['php'], 'python': ['pyls', 'flake8'], 'html':['htmlhint'], 'vue': ['eslint']} let g:ale_linters = {'scss': ['stylelint'], 'javascript': ['tsserver', 'eslint'], 'json': ['jsonlint'], 'php':['php'], 'python': ['pyls', 'flake8'], 'html':['htmlhint'], 'vue': ['vls', 'eslint']}
let g:ale_html_htmlhint_options = '-c ~/.htmlhintrc --format=unix' 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_fixers = {'javascript': ['eslint'], 'json': ['jq'], 'python': ['black'], 'vue': ['eslint']}