update
This commit is contained in:
parent
13f5ee6ae6
commit
b6cf740ee2
3 changed files with 7 additions and 5 deletions
5
vimrc
5
vimrc
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue