add binding for ale_fix

This commit is contained in:
Thomas Ruoff
2017-12-31 15:32:08 +01:00
parent d125b015bc
commit e19abd4462

1
vimrc
View File

@@ -294,6 +294,7 @@ map <Leader>t :MBEToggle<cr>
"" ale "" ale
nmap <silent> <C-k> <Plug>(ale_previous_wrap) nmap <silent> <C-k> <Plug>(ale_previous_wrap)
nmap <silent> <C-j> <Plug>(ale_next_wrap) nmap <silent> <C-j> <Plug>(ale_next_wrap)
nmap <Leader>gq <Plug>(ale_fix)
let g:ale_fixers = { let g:ale_fixers = {
\ 'javascript': ['eslint'], \ 'javascript': ['eslint'],
\} \}