Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:PlugUpdate/:PlugInstall freezes NeoVim #1295

Open
3 of 11 tasks
hood opened this issue Aug 20, 2024 · 6 comments
Open
3 of 11 tasks

:PlugUpdate/:PlugInstall freezes NeoVim #1295

hood opened this issue Aug 20, 2024 · 6 comments

Comments

@hood
Copy link

hood commented Aug 20, 2024

Basically running :PlugUpdate/:PlugInstall hangs my NeoVim instance. :PlugClean, :PlugStatus and :PlugDiff run fine. When NV hangs, the only way for me to get out of it is by killing the process. I’ve tried removing plugins and loading only one of them (rotating the one left, to avoid picking the offending one, if any) but the problem persists. I’ve tried building NeoVim from an older commit (all the way back to versions from ~6 months ago), but the problem is still there. Even running nvim --headless -c ‘PlugUpdate’ makes the process freeze.


local Plug = vim.fn['plug#']

vim.call('plug#begin')

Plug('github/copilot.vim')
Plug('ckipp01/stylua-nvim')
Plug('mg979/vim-visual-multi')
Plug('phaazon/hop.nvim')
Plug('windwp/nvim-autopairs')
Plug('nvim-tree/nvim-tree.lua', { ['on'] = {'NvimTreeToggle', 'NvimTreeOpen', 'NvimTreeFindFile'} })
Plug('akinsho/bufferline.nvim')
Plug('tpope/vim-commentary')
Plug('machakann/vim-sandwich')
Plug('junegunn/fzf' )
Plug('junegunn/fzf.vim')
Plug('coreyja/fzf.devicon.vim')
Plug('sbdchd/neoformat', { ['on'] = 'Neoformat' })
Plug('vim-airline/vim-airline')
Plug('vim-airline/vim-airline-themes')
Plug('lukas-reineke/indent-blankline.nvim')
Plug('APZelos/blamer.nvim', { ['on'] = 'BlamerShow' })
Plug('onsails/lspkind-nvim')
Plug('neovim/nvim-lspconfig')
Plug('nvim-treesitter/nvim-treesitter', { ['do'] = ':TSUpdate' })
Plug('nvim-treesitter/nvim-treesitter-textobjects')
Plug('JoosepAlviste/nvim-ts-context-commentstring')
Plug('nvim-treesitter/playground', { ['on'] = 'TSPlaygroundToggle' })
Plug('SmiteshP/nvim-navic')
Plug('hrsh7th/cmp-nvim-lsp')
Plug('hrsh7th/cmp-buffer')
Plug('hrsh7th/nvim-cmp')
Plug('hrsh7th/cmp-nvim-lsp-signature-help')
Plug('jose-elias-alvarez/null-ls.nvim')
Plug('MunifTanjim/eslint.nvim')
Plug('L3MON4D3/LuaSnip')
Plug('saadparwaiz1/cmp_luasnip')
Plug('nvim-lua/plenary.nvim')
Plug('folke/todo-comments.nvim')
Plug('tpope/vim-fugitive')
Plug('mikesmithgh/diffview.nvim')
Plug('junegunn/gv.vim')
Plug('ryanoasis/vim-devicons')
Plug('kyazdani42/nvim-web-devicons')
Plug('voldikss/vim-floaterm', { ['on'] = 'FloatermNew' })
Plug('mbbill/undotree', { ['on'] = 'UndotreeShow' })
Plug('folke/trouble.nvim')
Plug('laytan/cloak.nvim')

vim.call("plug#end")
NVIM v0.11.0-dev-636+ga8fbe1d40
Build type: RelWithDebInfo
LuaJIT 2.1.1724081603
  • Type:
    • Bug
    • Enhancement
    • Feature Request
    • Question
  • OS:
    • All/Other
    • Linux
    • macOS
    • Windows
  • Vim:
    • Terminal Vim
    • GVim
    • Neovim
@junegunn
Copy link
Owner

Is this the first time you use vim-plug, or did this happen suddenly after using it for a while?

@hood
Copy link
Author

hood commented Aug 20, 2024

Is this the first time you use vim-plug, or did this happen suddenly after using it for a while?

I've been using the plugin for years. Nothing major that I can recall changed in my setup when the issue started occurring.

@jdssl
Copy link

jdssl commented Aug 22, 2024

I have the same bug when running :PlugUpdate, after minutes I received the error Couldn´t connect to server.
I'm using, Linux Ubuntu 24.04 LTS, Neovim v0.10.0, Build type: Release, LuaJIT 2.1.1713484068

Updated. Elapsed time: 134.278718 sec.
[=============xxxxxxxxxx]

- Finishing ... Done!
- cmp-buffer: Already up to date.
- cmp-path: Already up to date.
- cmp-cmdline: Already up to date.
- lsp-status.nvim: Already up to date.
- markdown-preview.nvim: Already up to date.
x cmp-nvim-lua:
    fatal: unable to access 'https://github.com/hrsh7th/cmp-nvim-lua.git/': Failed to connect to github.com port 443 after 133118 ms: Couldn't connect to server
x telescope.nvim:
    fatal: unable to access 'https://github.com/nvim-telescope/telescope.nvim.git/': Failed to connect to github.com port 443 after 133647 ms: Couldn't connect to server
x nvim-treesitter:
    fatal: unable to access 'https://github.com/nvim-treesitter/nvim-treesitter.git/': Failed to connect to github.com port 443 after 134120 ms: Couldn't connect to server
- cmp-nvim-lsp-signature-help: Already up to date.
- nvim-cmp: Already up to date.
x vim-commentary:
    fatal: unable to access 'https://github.com/joom/vim-commentary.git/': Failed to connect to github.com port 443 after 134144 ms: Couldn't connect to server
- nerdtree: Already up to date.
x plenary.nvim:
    fatal: unable to access 'https://github.com/nvim-lua/plenary.nvim.git/': Failed to connect to github.com port 443 after 134156 ms: Couldn't connect to server
- vim-grepper: Already up to date.
x rust.vim:
    fatal: unable to access 'https://github.com/rust-lang/rust.vim.git/': Failed to connect to github.com port 443 after 133641 ms: Couldn't connect to server
- vim-fugitive: Already up to date.
- LuaSnip: Already up to date.
- vim-go: Already up to date.
x nvim-lspconfig:
    fatal: unable to access 'https://github.com/neovim/nvim-lspconfig.git/': Failed to connect to github.com port 443 after 133659 ms: Couldn't connect to server
x nvim-highlight-colors:
    fatal: unable to access 'https://github.com/brenoprata10/nvim-highlight-colors.git/': Failed to connect to github.com port 443 after 133646 ms: Couldn't connect to server
x vim-gitgutter:
    fatal: unable to access 'https://github.com/airblade/vim-gitgutter.git/': Failed to connect to github.com port 443 after 134200 ms: Couldn't connect to server
x cmp_luasnip:
    fatal: unable to access 'https://github.com/saadparwaiz1/cmp_luasnip.git/': Failed to connect to github.com port 443 after 133659 ms: Couldn't connect to server
- cmp-nvim-lsp: Already up to date.

@Shougo
Copy link

Shougo commented Aug 22, 2024

Hm... Your github access seems restricted.

@jdssl
Copy link

jdssl commented Aug 22, 2024

@Shougo I solved the problem with my internet provider, thanks!!!

@hood
Copy link
Author

hood commented Sep 28, 2024

Found out that doing Ctrl-C revives the process if i hit it early enough. 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants