From a73b6de253bc4796ebe1c2547fcab2306201e1b4 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Tue, 30 Mar 2021 09:43:41 +0200 Subject: [PATCH] Add syntastic configuration for vim --- .config/nvim/init.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index d8e2e01..08887eb 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -153,5 +153,15 @@ set termguicolors let ayucolor="mirage" colorscheme ayu +" Syntastic default configuration +set statusline+=%#warningmsg# +set statusline+=%{SyntasticStatuslineFlage()} +set statusline+=%* + +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 + " Neomutt configuration for nvim compatibility au BufRead /tmp/neomutt-* set tw=72