add prettier as ALE
This commit is contained in:
parent
e90f8c9206
commit
f54ea40d95
@ -30,7 +30,12 @@ let g:ale_lint_on_save = 1
|
|||||||
let g:ale_fix_on_save = 1
|
let g:ale_fix_on_save = 1
|
||||||
let g:ale_sign_column_always = 1
|
let g:ale_sign_column_always = 1
|
||||||
let g:airline#extensions#ale#enabled = 1
|
let g:airline#extensions#ale#enabled = 1
|
||||||
|
let g:ale_fixers = {
|
||||||
|
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
||||||
|
\ 'javascript': ['prettier'],
|
||||||
|
\ 'markdown': ['prettier'],
|
||||||
|
\ 'yaml': ['prettier'],
|
||||||
|
\}
|
||||||
inoremap jk <esc>
|
inoremap jk <esc>
|
||||||
inoremap kj <esc>
|
inoremap kj <esc>
|
||||||
set ignorecase
|
set ignorecase
|
||||||
|
Loading…
Reference in New Issue
Block a user