diff --git a/vimrc b/vimrc index 4f943c2..e79d338 100644 --- a/vimrc +++ b/vimrc @@ -34,6 +34,12 @@ set sbr=+ set laststatus=2 " configure airline, advanced status line plugin let g:airline#extensions#tagbar#enabled = 1 +" configure syntastic, advanced syntax checker +let g:syntastic_always_populate_loc_list = 1 +let g:syntastic_auto_loc_list = 1 +let g:syntastic_check_on_open = 1 +let g:syntastic_check_on_wq = 0 +let g:syntastic_javascript_checkers = ['jsxhint'] " set up folding preferences set fde=1 set fdm=syntax @@ -52,6 +58,8 @@ set smartcase " disable outdated data loss protections set nobackup set noswapfile +" make pastemode more accessible +set pastetoggle= " quickly toggle a right, vsplit for viewing, navigating whatever structure easy " tags/tagbar can figure out for the current buffer