plugins: No conditional loading of vim-fswitch
[vimconf.git] / plugins.vim
index a321bc9cf3dd67d64ff93e3db02e15d9dbbc0918..40548cc361c0cc13edb52e1939d0deeb83f0a121 100644 (file)
@@ -22,7 +22,8 @@ Plug 'ryanoasis/vim-devicons', Cond(g:enable_plugin_devicons)
 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'
@@ -73,6 +74,7 @@ if $USER != "root"
     Plug 'dbeniamine/cheat.sh-vim', {'on': 'Cheat'}
 
     if g:lowendbox == 0
+
         if has('nvim')
             Plug 'Shougo/deoplete.nvim', {'do': ':UpdateRemotePlugins'}
             Plug 'Shougo/denite.nvim', { 'do': ':UpdateRemotePlugins' }
@@ -105,6 +107,7 @@ if $USER != "root"
 
         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