From: Stefan Huber Date: Fri, 17 Dec 2021 22:15:37 +0000 (+0100) Subject: plugins: Fix indentation X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=0cdcb267e91e480d572025af2ceb61af3abfa373;p=vimconf.git plugins: Fix indentation --- diff --git a/plugins.vim b/plugins.vim index 79f4cd3..a321bc9 100644 --- a/plugins.vim +++ b/plugins.vim @@ -1,6 +1,6 @@ function! Cond(cond, ...) - let opts = get(a:000, 0, {}) - return a:cond ? opts : extend(opts, { 'on': [], 'for': [] }) + let opts = get(a:000, 0, {}) + return a:cond ? opts : extend(opts, { 'on': [], 'for': [] }) endfunction Plug 'mhinz/vim-startify' @@ -43,75 +43,74 @@ Plug 'tpope/vim-repeat' Plug 'flwyd/vim-conjoin' if $USER != "root" - Plug 'majutsushi/tagbar', {'on': 'TagbarToggle'} + Plug 'majutsushi/tagbar', {'on': 'TagbarToggle'} - Plug 'ludovicchabant/vim-gutentags', {'for': ['c', 'cpp', 'objc']} - "Plug 'vim-scripts/Conque-GDB', {'for': ['c', 'cpp', 'objc']} + Plug 'ludovicchabant/vim-gutentags', {'for': ['c', 'cpp', 'objc']} + "Plug 'vim-scripts/Conque-GDB', {'for': ['c', 'cpp', 'objc']} - Plug 'editorconfig/editorconfig-vim' - Plug 'embear/vim-localvimrc' + Plug 'editorconfig/editorconfig-vim' + Plug 'embear/vim-localvimrc' - Plug 'airblade/vim-rooter' - Plug 'Xuyuanp/nerdtree-git-plugin', {'on': 'NERDTreeToggle'} + Plug 'airblade/vim-rooter' + Plug 'Xuyuanp/nerdtree-git-plugin', {'on': 'NERDTreeToggle'} - Plug 'plasticboy/vim-markdown', {'for': 'markdown'} - Plug 'lvht/tagbar-markdown', {'for': 'markdown'} - Plug 'habamax/vim-asciidoctor', {'for': 'asciidoc'} + Plug 'plasticboy/vim-markdown', {'for': 'markdown'} + Plug 'lvht/tagbar-markdown', {'for': 'markdown'} + Plug 'habamax/vim-asciidoctor', {'for': 'asciidoc'} - Plug 'PProvost/vim-markdown-jekyll', {'for': 'markdown'} - Plug 'tpope/vim-liquid', {'for': ['liquid', 'html', 'xml', 'markdown']} + Plug 'PProvost/vim-markdown-jekyll', {'for': 'markdown'} + Plug 'tpope/vim-liquid', {'for': ['liquid', 'html', 'xml', 'markdown']} - Plug 'tpope/vim-ragtag' + Plug 'tpope/vim-ragtag' - Plug 'Shougo/neosnippet.vim' - Plug 'Shougo/neosnippet-snippets' + Plug 'Shougo/neosnippet.vim' + Plug 'Shougo/neosnippet-snippets' - Plug 'tpope/vim-speeddating' - Plug 'mattn/calendar-vim' + Plug 'tpope/vim-speeddating' + Plug 'mattn/calendar-vim' - " Costs a second startup time - Plug 'dbeniamine/cheat.sh-vim', {'on': 'Cheat'} + " Costs a second startup time + 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' } + else + Plug 'Shougo/deoplete.nvim' + Plug 'Shougo/denite.nvim' - if g:lowendbox == 0 - if has('nvim') - Plug 'Shougo/deoplete.nvim', {'do': ':UpdateRemotePlugins'} - Plug 'Shougo/denite.nvim', { 'do': ':UpdateRemotePlugins' } - else - Plug 'Shougo/deoplete.nvim' - Plug 'Shougo/denite.nvim' + Plug 'roxma/nvim-yarp' + Plug 'roxma/vim-hug-neovim-rpc' + endif - Plug 'roxma/nvim-yarp' - Plug 'roxma/vim-hug-neovim-rpc' - endif - - " java extension to deoplete - Plug 'artur-shaik/vim-javacomplete2', {'for': 'java'} + " java extension to deoplete + Plug 'artur-shaik/vim-javacomplete2', {'for': 'java'} - Plug 'neomake/neomake' + Plug 'neomake/neomake' - Plug 'lervag/vimtex', {'for': 'tex'} + Plug 'lervag/vimtex', {'for': 'tex'} - Plug 'mhinz/vim-signify' - Plug 'tpope/vim-fugitive' - Plug 'gko/vim-coloresque' + Plug 'mhinz/vim-signify' + Plug 'tpope/vim-fugitive' + Plug 'gko/vim-coloresque' - Plug 'vimwiki/vimwiki' - Plug 'jceb/vim-orgmode', {'for': ['org']} + Plug 'vimwiki/vimwiki' + Plug 'jceb/vim-orgmode', {'for': ['org']} - Plug 'cakebaker/scss-syntax.vim', {'for': 'scss'} - Plug 'hail2u/vim-css3-syntax', {'for': ['scss', 'css']} + Plug 'cakebaker/scss-syntax.vim', {'for': 'scss'} + Plug 'hail2u/vim-css3-syntax', {'for': ['scss', 'css']} - Plug 'sjl/splice.vim', {'on': 'SpliceInit'} + Plug 'sjl/splice.vim', {'on': 'SpliceInit'} - if has('nvim-0.5') - Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} - else - Plug 'sheerun/vim-polyglot' + if has('nvim-0.5') + Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} + else + Plug 'sheerun/vim-polyglot' + endif endif - endif endif if filereadable($HOME . '/.vim/plugins-local.vim') - source ~/.vim/plugins-local.vim + source ~/.vim/plugins-local.vim endif