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',