-" Find file and Find stuff to quickfix.
-command -nargs=1 Qff :cexpr system('find . \| ag <f-args>') | copen
-
-function! ToggleCWindow()
- if exists("g:qwindow")
- cclose
- unlet g:qwindow
- else
- copen
- let g:qwindow = 1
- endif
-endfunction
-nnoremap <C-h> :call ToggleCWindow()<cr>
+" Syntastic stuff
+let g:syntastic_javascript_checkers = ['eslint']
+let g:syntastic_always_populate_loc_list = 1
+let g:syntastic_check_on_open = 1
+let g:syntastic_check_on_wq = 1
+let g:syntastic_error_symbol = "✕"
+let g:syntastic_warning_symbol = "⚠︎"
+let g:syntastic_quiet_messages = {'level': 'warnings'}