junegunn / vim-plug

:hibiscus: Minimalist Vim Plugin Manager
https://junegunn.github.io/vim-plug/
MIT License
33.7k stars 1.9k forks source link

PlugUpdate/PlugUpgrade FATAL: Could not read from remote repository #1250

Closed tamis-laan closed 1 year ago

tamis-laan commented 1 year ago

When running PlugUpdate I get the could not read from remote replository error for each plugin. screenshot

Same for running PlugUpgrade screenshot


" [ 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"
tamis-laan commented 1 year ago

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.