This commit is contained in:
ManjaroOne666 2019-03-31 21:52:27 +01:00
commit b6cf740ee2
3 changed files with 7 additions and 5 deletions

5
vimrc
View file

@ -185,8 +185,9 @@ if g:vimrc_load_dev_plugins
" 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'], 'html':['htmlhint'], 'vue': ['vls', 'eslint']}
let g:ale_fixers = {'javascript': ['eslint'], 'json': ['jq'], 'python': ['black'], 'vue': ['eslint']}
let g:ale_linters = {'scss': ['stylelint'], 'javascript': ['tsserver', 'eslint'], 'json': ['jsonlint'], 'php':['php'], 'python': ['pyls'], 'html':['htmlhint'], 'vue': ['vls', 'stylelint', 'eslint']}
let g:ale_linter_aliases = {'vue': ['css', 'javascript', 'typescript']}
let g:ale_fixers = {'scss': ['prettier'], 'javascript': ['eslint'], 'json': ['jq'], 'python': ['black'], 'vue': ['prettier', 'eslint']}
let g:ale_html_htmlhint_options = '-c ~/.htmlhintrc --format=unix'