From f2791f437d26adefaf9b98b3521a96e86e178ebc Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Wed, 27 Sep 2017 17:45:40 -0700 Subject: [PATCH] Update vimrc for ALE instead of syntastic --- vimrc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/vimrc b/vimrc index f3200e3..4f76ae5 100644 --- a/vimrc +++ b/vimrc @@ -60,15 +60,13 @@ map ggVGg? " apply rot13 for people snooping over shoulder, good fun let NERDTreeDirArrows=1 let NERDTreeIgnore = ['\.pyc$'] -" Prep some variables for use with syntastic syntax checker -let g:syntastic_phpcs_disable=1 -let g:syntastic_auto_loc_list=1 -let g:syntastic_stl_format = '[%E{Err: %fe #%e}%B{, }%W{Warn: %fw #%w}]' -" let g:syntastic_json_checker = "jsonlint" -let g:syntastic_scss_checkers = [] -let g:syntastic_css_checkers = [] -let g:syntastic_html_checkers=[] -let g:syntastic_javascript_checkers = ['jshint', 'eslint', 'jscs'] +let g:ale_linters = { +\ 'javascript': ['eslint'] +\} + +"let g:ale_fixers = { +"\ 'javascript': ['prettier'], +"\} " Close all open buffers on entering a window if the only " buffer that's left is the NERDTree buffer