return a:cond ? opts : extend(opts, { 'on': [], 'for': [] })
endfunction
+Plug 'mhinz/vim-startify'
+
Plug 'vim-airline/vim-airline'
Plug 'gruvbox-community/gruvbox'
Plug 'Konfekt/vim-DetectSpellLang', {'do': 'spell'}
Plug 'roryokane/detectindent'
-Plug 'derekwyatt/vim-fswitch', {'for': ['c', 'cpp', 'objc']}
+" This plugin cannot be conditionally loaded, see github issue #18
+Plug 'derekwyatt/vim-fswitch' ", {'for': ['c', 'cpp', 'objc']}
Plug 'godlygeek/tabular'
Plug 'junegunn/vim-easy-align'
if g:lowendbox == 0
- Plug 'mhinz/vim-startify'
-
if has('nvim')
Plug 'Shougo/deoplete.nvim', {'do': ':UpdateRemotePlugins'}
Plug 'Shougo/denite.nvim', { 'do': ':UpdateRemotePlugins' }
if has('nvim-0.5')
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
+ Plug 'nvim-treesitter/nvim-treesitter-refactor', {'do': ':TSUpdate'}
else
Plug 'sheerun/vim-polyglot'
endif