From fad1f15ad4a5ffeaf7779a4f4266b7b80526276f Mon Sep 17 00:00:00 2001 From: ray Date: Wed, 8 Sep 2021 16:43:54 +0100 Subject: [PATCH] fix vim-plug error for non-master branches --- init.plugins.vim | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/init.plugins.vim b/init.plugins.vim index 91b708b..cd854f4 100644 --- a/init.plugins.vim +++ b/init.plugins.vim @@ -6,7 +6,7 @@ endif call plug#begin('~/.config/nvim/bundle') " colorscheme (temporary) -Plug 'https://github.com/marko-cerovac/material.nvim' +Plug 'https://github.com/marko-cerovac/material.nvim', { 'branch': 'main' } let g:material_style = 'lighter' " colorscheme in develpment paper-tonic @@ -54,10 +54,10 @@ Plug '~/nvim-paper-tonic' " #nvim-cmp {{{ " https://github.com/hrsh7th/nvim-cmp/ " completion - Plug 'hrsh7th/nvim-cmp' - Plug 'hrsh7th/cmp-nvim-lsp' - Plug 'hrsh7th/cmp-buffer' - Plug 'hrsh7th/cmp-path' + Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' } + Plug 'hrsh7th/cmp-nvim-lsp', { 'branch': 'main' } + Plug 'hrsh7th/cmp-buffer', { 'branch': 'main' } + Plug 'hrsh7th/cmp-path', { 'branch': 'main' } " Plug 'hrsh7th/cmp-nvim-ultisnips' "}}} @@ -284,15 +284,6 @@ let g:vim_markdown_fenced_languages = ['bash=sh'] " https://github.com/tpope/vim-dispatch Plug 'tpope/vim-dispatch' - "}}} -" #phpcomplete.vim{{{ -" improved php completion - " https://github.com/shawncplus/phpcomplete.vim - Plug 'shawncplus/phpcomplete.vim' - " https://github.com/dsawardekar/wordpress.vim - " For up to date Wordpress Files see: - " https://github.com/joseluis/wordpress.vim-generator - "}}} " #vim-floaterm{{{ " https://github.com/voldikss/floaterm