File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ call plug#begin('~/.vim/plugged')
1414 Plug ' ervandew/supertab' " Complete most used words with tab
1515 Plug ' editorconfig/editorconfig-vim' " Loads configurations from .editorconfig file
1616 Plug ' janko-m/vim-test' " Wrapper for running tests
17+ Plug ' dense-analysis/ale' " Asynchronous Lint Engine
1718
1819 " Javascript
1920 Plug ' pangloss/vim-javascript'
@@ -112,3 +113,12 @@ nnoremap <leader>mfd :MixFormatDiff<cr>
112113
113114" Vim alchemist
114115let g: alchemist_tag_disable = 1
116+
117+ " Vim ALE
118+ nnoremap <leader> jf :ALEFix<cr>
119+ nnoremap <leader> jfp :ALEFix pretter<cr>
120+ nnoremap <leader> jfl :ALEFix eslint<cr>
121+ let g: ale_sign_error = ' ❌'
122+ let g: ale_sign_warning = ' ⚠️'
123+ let g: ale_fixers = [' prettier' , ' eslint' ]
124+ let g: ale_fix_on_save = 1
You can’t perform that action at this time.
0 commit comments