plugins: Have gutentags also for tex
[vimconf.git] / plugins.vim
1 function! Cond(cond, ...)
2 let opts = get(a:000, 0, {})
3 return a:cond ? opts : extend(opts, { 'on': [], 'for': [] })
4 endfunction
5
6 Plug 'mhinz/vim-startify'
7 Plug 'dstein64/vim-startuptime'
8
9 Plug 'vim-airline/vim-airline'
10 Plug 'gruvbox-community/gruvbox'
11
12 Plug 'benknoble/vim-auto-origami'
13
14 Plug 'scrooloose/nerdcommenter'
15 Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'}
16
17 Plug 'roryokane/detectindent'
18
19 " This plugin cannot be conditionally loaded, see github issue #18
20 Plug 'derekwyatt/vim-fswitch' ", {'for': ['c', 'cpp', 'objc']}
21
22 Plug 'godlygeek/tabular'
23 Plug 'junegunn/vim-easy-align'
24
25 Plug 'thinca/vim-fontzoom'
26
27 Plug 'lambdalisue/vim-manpager', {'on': 'MANPAGER'}
28
29 " Make . more useful after a plugin map
30 Plug 'tpope/vim-repeat'
31
32 Plug 'flwyd/vim-conjoin'
33
34 if $USER != "root"
35 source ~/.vim/plugins-noroot.vim
36 endif
37
38 if filereadable($HOME . '/.vim/plugins-local.vim')
39 source ~/.vim/plugins-local.vim
40 endif