From e3b2da9bc2ea6d600b41a2e3eda69addf22f80e2 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Mon, 24 Feb 2020 18:52:38 -0700 Subject: [PATCH] Add syntastic --- .config/nvim/init.vim | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index d503743..6fa3852 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -20,6 +20,7 @@ Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } Plug 'tpope/vim-fugitive' Plug 'tpope/vim-rails' Plug 'tpope/vim-surround' +Plug 'vim-syntastic/syntastic' call plug#end() @@ -213,6 +214,13 @@ let g:NERDTreeShowHidden = 1 let g:deoplete#enable_at_startup = 1 let g:deoplete#enable_ignore_case = 1 +" syntastic +let g:syntastic_vim_checkers = ["vint"] +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 + " Tagbar let g:tagbar_type_go = { \ 'ctagstype' : 'go',