aboutsummaryrefslogtreecommitdiff
path: root/stow/vim/.vim/rc/syntastic.vim
diff options
context:
space:
mode:
Diffstat (limited to 'stow/vim/.vim/rc/syntastic.vim')
-rw-r--r--stow/vim/.vim/rc/syntastic.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/stow/vim/.vim/rc/syntastic.vim b/stow/vim/.vim/rc/syntastic.vim
new file mode 100644
index 0000000..087e662
--- /dev/null
+++ b/stow/vim/.vim/rc/syntastic.vim
@@ -0,0 +1,12 @@
+Plug 'vim-syntastic/syntastic'
+
+set statusline+=%#warningmsg#
+set statusline+=%{SyntasticStatuslineFlag()}
+set statusline+=%*
+let g:syntastic_cs_checkers = ['code_checker']
+let g:syntastic_enable_signs = 1
+let g:syntastic_aggregate_errors = 1
+let g:syntastic_always_populate_loc_list = 1
+let g:syntastic_auto_loc_list = 2
+let g:syntastic_check_on_open = 1
+let g:syntastic_check_on_wq = 0