projects
/
vimconf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
plugins: No conditional loading of vim-fswitch
[vimconf.git]
/
plugins.vim
diff --git
a/plugins.vim
b/plugins.vim
index 82476dc731e413506138062fc59591c47e1a19b3..40548cc361c0cc13edb52e1939d0deeb83f0a121 100644
(file)
--- a/
plugins.vim
+++ b/
plugins.vim
@@
-3,6
+3,8
@@
function! Cond(cond, ...)
return a:cond ? opts : extend(opts, { 'on': [], 'for': [] })
endfunction
return a:cond ? opts : extend(opts, { 'on': [], 'for': [] })
endfunction
+Plug 'mhinz/vim-startify'
+
Plug 'vim-airline/vim-airline'
Plug 'gruvbox-community/gruvbox'
Plug 'vim-airline/vim-airline'
Plug 'gruvbox-community/gruvbox'
@@
-20,7
+22,8
@@
Plug 'ryanoasis/vim-devicons', Cond(g:enable_plugin_devicons)
Plug 'Konfekt/vim-DetectSpellLang', {'do': 'spell'}
Plug 'roryokane/detectindent'
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'
Plug 'godlygeek/tabular'
Plug 'junegunn/vim-easy-align'
@@
-72,8
+75,6
@@
if $USER != "root"
if g:lowendbox == 0
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')
Plug 'Shougo/deoplete.nvim', {'do': ':UpdateRemotePlugins'}
Plug 'Shougo/denite.nvim', { 'do': ':UpdateRemotePlugins' }
@@
-106,6
+107,7
@@
if $USER != "root"
if has('nvim-0.5')
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
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
else
Plug 'sheerun/vim-polyglot'
endif