Closed tamis-laan closed 1 year ago
When running PlugUpdate I get the could not read from remote replository error for each plugin.
Same for running PlugUpgrade
" [ PLUGINS ] call plug#begin('~/.vim/plugged') " Extra lua helper functions Plug 'nvim-lua/plenary.nvim' " Language server protocol Plug 'neovim/nvim-lspconfig' " Language server protocol Plug 'hrsh7th/nvim-compe' " Automatic completion " Tree sitter Plug 'nvim-treesitter/nvim-treesitter',{'do':':TSUpdate'} " Tree sitter - advanced syntax Plug 'nvim-treesitter/completion-treesitter' " Tree sitter - advanced syntax Plug 'nvim-treesitter/nvim-treesitter-textobjects' " Tree sitter - advanced syntax Plug 'windwp/nvim-ts-autotag' " Auto close tags " Regular syntax " Plug 'sheerun/vim-polyglot' " Addition syntax hl files (CONFLICTS WITH TS!) Plug 'jonsmithers/vim-html-template-literals', {'for':'javascript'} " Javascript template literals and lit-html support " Display hex colors Plug 'norcalli/nvim-colorizer.lua' " Color previews " Color scheme Plug 'gruvbox-community/gruvbox' " Color scheme " Easy comments Plug 'tpope/vim-commentary' " Comments plugin " Highlight yank temporarily Plug 'machakann/vim-highlightedyank' " Temporarily highlight yanked selection " JSON file formatting Plug 'elzr/vim-json' " Fuzzy search Plug 'nvim-telescope/telescope.nvim' " Install fzf on system " Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } " Quick navigation between a small selection of files Plug 'ThePrimeagen/harpoon' " Fuzzy search accelerator Plug 'nvim-telescope/telescope-fzf-native.nvim', { 'do': 'make' } " Git support Plug 'tpope/vim-fugitive' call plug#end()
NVIM v0.9.1 Build type: Release LuaJIT 2.1.0-beta3 system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM "/usr/share/nvim"
Issue is related to https://github.com/junegunn/vim-plug/issues/1093
I had the following in my git config:
[url "git@github.com:"] insteadOf = https://github.com/
Works after removing it.
When running PlugUpdate I get the could not read from remote replository error for each plugin.
Same for running PlugUpgrade