diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index b5e0a0f..affae4c 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -23,7 +23,6 @@ Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'tpope/vim-fugitive' Plug 'tpope/vim-rails' Plug 'tpope/vim-surround' -Plug 'vim-syntastic/syntastic' call plug#end() @@ -231,27 +230,6 @@ let g:NERDSpaceDelims = 1 " NERD Tree let g:NERDTreeShowHidden = 1 -" syntastic -let g:syntastic_vim_checkers = ['vint'] -let g:syntastic_ruby_checkers = ['rubocop'] -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 - -function ToggleSyntastic() - if !exists('b:syntastic_mode') || b:syntastic_mode == 'active' - let b:syntastic_mode = 'passive' - exec 'SyntasticReset' - else - let b:syntastic_mode = 'active' - exec 'SyntasticCheck' - end - -endfunction - -nnoremap y :call ToggleSyntastic() - " Tagbar let g:tagbar_type_go = { \ 'ctagstype' : 'go',