fix vim-plug error for non-master branches

This commit is contained in:
Ray Elliott 2021-09-08 16:43:54 +01:00
parent 0f62bfa83f
commit fad1f15ad4
1 changed files with 5 additions and 14 deletions

View File

@ -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