X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=plugins.vim;h=6852fb19e97c9da08ecb225163bcc13573a8c285;hb=a3115572c519b5aea23cfa29690cead4c62b903a;hp=fb2efaa1dfe85ce1b1dd76736b3f19b54b56793b;hpb=8231877addd0f0f74e882a5ff257d58abcdeba92;p=vimconf.git diff --git a/plugins.vim b/plugins.vim index fb2efaa..6852fb1 100644 --- a/plugins.vim +++ b/plugins.vim @@ -1,64 +1,52 @@ +function! Cond(cond, ...) + let opts = get(a:000, 0, {}) + return a:cond ? opts : extend(opts, { 'on': [], 'for': [] }) +endfunction + Plug 'mhinz/vim-startify' Plug 'vim-airline/vim-airline' -Plug 'morhetz/gruvbox' - -Plug 'mhinz/vim-signify' -Plug 'tpope/vim-fugitive' -Plug 'airblade/vim-rooter' +Plug 'gruvbox-community/gruvbox' -Plug 'Shougo/vimproc.vim', {'do': 'make'} -Plug 'Shougo/denite.nvim' +Plug 'benknoble/vim-auto-origami' +" Prevent slow foling update, e.g., for vimtex +Plug 'Konfekt/FastFold' Plug 'scrooloose/nerdcommenter' -Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'} -Plug 'Xuyuanp/nerdtree-git-plugin', {'on': 'NERDTreeToggle'} - -Plug 'neomake/neomake' -Plug 'majutsushi/tagbar', {'on': 'TagbarToggle'} - -Plug 'plasticboy/vim-markdown', {'for': 'markdown'} -Plug 'lvht/tagbar-markdown', {'for': 'markdown'} +Plug 'joom/latex-unicoder.vim', {'on': 'Unicoder'} -Plug 'PProvost/vim-markdown-jekyll', {'for': 'markdown'} -Plug 'tpope/vim-liquid', {'for': ['liquid', 'html', 'xml', 'markdown']} +Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'} +Plug 'ryanoasis/vim-devicons', Cond(g:enable_plugin_devicons) -Plug 'cakebaker/scss-syntax.vim', {'for': 'scss'} -Plug 'hail2u/vim-css3-syntax', {'for': ['scss', 'css']} -Plug 'ap/vim-css-color', {'for': ['scss', 'css']} +Plug 'Konfekt/vim-DetectSpellLang', {'do': 'spell'} +Plug 'roryokane/detectindent' -Plug 'tpope/vim-ragtag', {'for': ['html', 'xml']} +" This plugin cannot be conditionally loaded, see github issue #18 +Plug 'derekwyatt/vim-fswitch' ", {'for': ['c', 'cpp', 'objc']} -Plug 'lervag/vimtex', {'for': 'tex'} +Plug 'godlygeek/tabular' +Plug 'junegunn/vim-easy-align' -if has('nvim') - Plug 'Shougo/deoplete.nvim', {'do': ':UpdateRemotePlugins' } -else - Plug 'Shougo/deoplete.nvim' - Plug 'roxma/nvim-yarp' - Plug 'roxma/vim-hug-neovim-rpc' -endif +Plug 'thinca/vim-fontzoom' -Plug 'Shougo/neosnippet.vim' -Plug 'Shougo/neosnippet-snippets' +Plug 'vim-scripts/loremipsum', {'on': 'Loremipsum'} -Plug 'tpope/vim-speeddating' -Plug 'jceb/vim-orgmode', {'for': ['org']} +Plug 'lambdalisue/vim-manpager', {'on': 'MANPAGER'} -Plug 'Konfekt/vim-DetectSpellLang', {'do': 'spell'} -Plug 'ciaranm/detectindent' +Plug 'https://gitlab.com/dbeniamine/vim-mail' -Plug 'derekwyatt/vim-fswitch', {'for': ['c', 'cpp', 'objc']} -Plug 'ludovicchabant/vim-gutentags', {'for': ['c', 'cpp', 'objc']} +Plug 'dstein64/vim-startuptime' -Plug 'godlygeek/tabular' -Plug 'junegunn/vim-easy-align' +" Make . more useful after a plugin map +Plug 'tpope/vim-repeat' -Plug 'thinca/vim-fontzoom' +Plug 'flwyd/vim-conjoin' -Plug 'vim-scripts/loremipsum', {'on': 'Loremipsum'} +if $USER != "root" + source ~/.vim/plugins-noroot.vim +endif if filereadable($HOME . '/.vim/plugins-local.vim') - source ~/.vim/plugins-local.vim + source ~/.vim/plugins-local.vim endif