let g:minpac_initialized = 0 function! InitMinpac() abort if g:minpac_initialized return endif if empty(glob('~/.vim/pack/vendor/opt/minpac')) silent !git clone https://github.com/k-takata/minpac.git \ ~/.vim/pack/vendor/opt/minpac/ endif packadd minpac call minpac#init({'package_name': 'vendor'}) call minpac#add('https://github.com/k-takata/minpac', {'type': 'opt'}) call minpac#add('https://github.com/lifepillar/vim-mucomplete', {'type': 'opt'}) call minpac#add('https://github.com/dense-analysis/ale.git', {'type': 'opt'}) call minpac#add('https://github.com/SirVer/ultisnips.git', {'type': 'opt'}) call minpac#add('https://github.com/honza/vim-snippets') call minpac#add('https://github.com/ctrlpvim/ctrlp.vim.git', {'type': 'opt'}) call minpac#add('https://github.com/FelikZ/ctrlp-py-matcher.git', {'type': 'opt'}) call minpac#add('https://github.com/preservim/tagbar.git') call minpac#add('https://github.com/puremourning/vimspector', {'type': 'opt'}) call minpac#add('https://github.com/prabirshrestha/vim-lsp', {'type': 'opt'}) call minpac#add('https://github.com/thomasfaingnaert/vim-lsp-snippets', {'type': 'opt'}) call minpac#add('https://github.com/thomasfaingnaert/vim-lsp-ultisnips', {'type': 'opt'}) call minpac#add('https://github.com/rhysd/vim-lsp-ale.git', {'type': 'opt'}) call minpac#add('https://github.com/andymass/vim-matchup.git', {'type': 'start'}) call minpac#add('https://github.com/wellle/targets.vim.git', {'type': 'start'}) if has('nvim') call minpac#add('https://github.com/nvim-lua/plenary.nvim', {'type': 'opt'}) call minpac#add('https://github.com/sindrets/diffview.nvim', {'type': 'opt'}) call minpac#add('https://github.com/f-person/git-blame.nvim', {'type': 'opt'}) call minpac#add('https://github.com/simrat39/symbols-outline.nvim', {'type': 'opt'}) call minpac#add('https://github.com/neovim/nvim-lspconfig', {'type': 'opt'}) call minpac#add('https://github.com/ray-x/lsp_signature.nvim', {'type': 'opt'}) call minpac#add('https://github.com/mfussenegger/nvim-dap', {'type': 'opt'}) call minpac#add('https://github.com/rcarriga/nvim-dap-ui', {'type': 'opt'}) call minpac#add('https://github.com/leoluz/nvim-dap-go', {'type': 'opt'}) call minpac#add('https://github.com/hrsh7th/nvim-cmp', {'type': 'opt'}) call minpac#add('https://github.com/hrsh7th/cmp-buffer', {'type': 'opt'}) call minpac#add('https://github.com/hrsh7th/cmp-path', {'type': 'opt'}) call minpac#add('https://github.com/hrsh7th/cmp-nvim-lsp', {'type': 'opt'}) call minpac#add('https://github.com/hrsh7th/cmp-cmdline', {'type': 'opt'}) call minpac#add('https://github.com/quangnguyen30192/cmp-nvim-ultisnips', {'type': 'opt'}) call minpac#add('https://github.com/nvim-treesitter/nvim-treesitter', { \ 'type': 'opt', \ 'do': 'if has("nvim") | packadd nvim-treesitter | :TSUpdate | endif', \ }) endif call minpac#add('https://github.com/prabirshrestha/asyncomplete.vim.git', {'type': 'opt'}) call minpac#add('https://github.com/prabirshrestha/asyncomplete-lsp.vim.git', {'type': 'opt'}) call minpac#add('https://github.com/prabirshrestha/asyncomplete-ultisnips.vim.git', {'type': 'opt'}) call minpac#add('https://github.com/prabirshrestha/asyncomplete-tags.vim.git', {'type': 'opt'}) call minpac#add('https://github.com/prabirshrestha/asyncomplete-file.vim.git', {'type': 'opt'}) call minpac#add('https://github.com/prabirshrestha/asyncomplete-buffer.vim.git', {'type': 'opt'}) call minpac#add('https://github.com/yami-beta/asyncomplete-omni.vim', {'type': 'opt'}) call minpac#add('https://github.com/ludovicchabant/vim-gutentags.git', {'type': 'opt'}) call minpac#add('https://github.com/easymotion/vim-easymotion.git', {'type': 'opt'}) call minpac#add('https://github.com/airblade/vim-rooter.git') call minpac#add('https://github.com/mbbill/undotree.git') call minpac#add('https://github.com/godlygeek/tabular.git') call minpac#add('https://github.com/editorconfig/editorconfig-vim.git') call minpac#add('https://github.com/dhruvasagar/vim-table-mode.git') call minpac#add('https://github.com/junegunn/vim-easy-align') call minpac#add('https://github.com/romainl/vim-qf.git') call minpac#add('https://github.com/tpope/vim-scriptease.git') call minpac#add('https://github.com/tpope/vim-commentary') call minpac#add('https://github.com/tpope/vim-eunuch.git') call minpac#add('https://github.com/tpope/vim-sleuth.git') call minpac#add('https://github.com/tpope/vim-unimpaired.git') call minpac#add('https://github.com/tpope/vim-surround.git') call minpac#add('https://github.com/tpope/vim-rsi.git') call minpac#add('https://github.com/tpope/vim-dispatch.git') " external call minpac#add('https://github.com/junegunn/fzf.git') call minpac#add('https://github.com/junegunn/fzf.vim.git', {'type': 'opt'}) call minpac#add('https://github.com/mcchrish/nnn.vim.git') " terminal call minpac#add('https://github.com/voldikss/vim-floaterm.git') " git call minpac#add('https://github.com/tpope/vim-fugitive.git') call minpac#add('https://github.com/rbong/vim-flog.git') call minpac#add('https://github.com/iberianpig/tig-explorer.vim') call minpac#add('https://github.com/mhinz/vim-signify.git') call minpac#add('https://github.com/jpalardy/vim-slime', {'type': 'opt'}) " appearance call minpac#add('https://github.com/joshdick/onedark.vim.git', {'type': 'opt'}) " call minpac#add('https://github.com/vim-airline/vim-airline.git', {'type': 'opt'}) " call minpac#add('https://github.com/vim-airline/vim-airline-themes.git', {'type': 'opt'}) call minpac#add('https://github.com/itchyny/lightline.vim') " call minpac#add('https://github.com/ap/vim-buftabline') " chinese input method call minpac#add('https://github.com/lilydjwg/fcitx.vim.git', {'type': 'opt'}) call minpac#add('https://github.com/ybian/smartim.git', {'type': 'opt'}) " language specific call minpac#add('https://github.com/habamax/vim-godot.git') call minpac#add('https://github.com/ledger/vim-ledger.git') call minpac#add('https://github.com/axvr/org.vim.git') call minpac#add('https://github.com/chr4/nginx.vim') call minpac#add('https://github.com/preservim/vim-markdown') call minpac#add('https://github.com/iamcco/markdown-preview.nvim', { \ 'type': 'start', \ 'do': 'packloadall! | call mkdp#util#install()'}) " misc call minpac#add('https://github.com/freitass/todo.txt-vim.git', {'type': 'opt'}) call minpac#add('https://github.com/ntpeters/vim-better-whitespace.git', {'type': 'opt'}) let g:minpac_initialized = 1 endfunction command! MinpacUpdate source $MYVIMRC | call InitMinpac() | call minpac#update() command! MinpacClean source $MYVIMRC | call InitMinpac() | call minpac#clean() command! MinpacStatus call InitMinpac() | call minpac#status()