python fixer: black, linter: pyls using flake8
This commit is contained in:
parent
b0173304ed
commit
550f7bec28
15
vimrc
15
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 = 'α'
|
||||
|
||||
|
|
Loading…
Reference in New Issue