update: ALE config
This commit is contained in:
parent
74cde5f75a
commit
80cdfee138
2
vimrc
2
vimrc
|
@ -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']}
|
||||||
|
|
Loading…
Reference in New Issue