Copilot plugin fails to load for me, Lazy.nvim clone stucks on 100% Resolving Deltas or manual install not detected
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Empieza reproduciendo las rutas de clonación e instalación manual de Lazy.nvim descritas en el issue y, después, inspecciona init.lua, &runtimepath y :scriptnames en Neovim. Compara las configuraciones de copilot.lua y copilot.vim y la salida de timeout de Lazy.nvim; el issue estará terminado cuando el plugin se cargue de forma fiable y los comandos :Copilot estén disponibles.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I’m trying to use GitHub Copilot with Neovim, but the plugin fails to load reliably. Whether I use the Lua version (via copilot.lua) or Vim‑script version (via copilot.vim), I hit different issues: Lazy.nvim clone gets stuck when it reaches 100% Resolving deltas until I get a timeout error, even when I tried manual installation, Neovim (Lazy.nvim) fails to register/detect the plugin, so commands don’t exist. All my other plugins work fine BTW (themes, bufferline, lualine...etc).
🧪 Environment
- OS: Linux (MX Linux XFCE 25)
- Neovim version: v0.11.5
- Node.js version: v18.20.4 (≥ 16 required for Copilot)
- Plugin manager: Lazy.nvim
- Other plugins: (examples) lualine.nvim, bufferline.nvim, nvim-treesitter, toggleterm.nvim, nvim-notify, nord.nvim, etc. — all load fine
What I tried & What happens
✅ Using copilot.lua (Lua version via Lazy.nvim)
I added this plugin to my Lazy.nvim config with default setup.
On Neovim startup, Lazy.nvim tries to clone the plugin: progress reaches “100% resolving deltas”.
After that, clone hangs indefinitely, eventually failing with a timeout error.
I retried multiple times (network stable, Git config adjusted, buffer size increased) — same problem persists.
✅ Using copilot.vim (Vim‑script version via Lazy.nvim)
I replaced with the Vim‑script version and attempted install via Lazy.nvim.
The same behavior: cloning hangs and times out.
All other plugins via Lazy.nvim install normally (themes, tools, utilities).
✅ Manual clone of copilot.vim
I ran:
git clone --depth=1 https://github.com/github/copilot.vim.git \
~/.config/nvim/pack/github/start/copilot.vim
- Clone completes successfully.
- Folder structure is correct (plugin/, autoload/, lua/, doc/, syntax/, etc.).
- Restarting Neovim: plugin does not load — :Copilot commands do not exist.
- :scriptnames shows no copilot.vim/plugin load.
✅ What I verified
- :echo &runtimepath — the cloned path does not appear.
- Tried vim.cmd [[packadd copilot.vim]] in init.lua → still no commands.
- Verified Node.js version (v18.20.4) and Neovim version (v0.11.5).
🎯 What I expect / What should happen
- Copilot should load properly in Neovim.
- :Copilot commands should be available.
- Lazy.nvim should install and load it without hanging.
- Manual installation should register the plugin properly if path is correct.
❓ Questions / Issues I need help with
- Why does Lazy.nvim hang / timeout when cloning Copilot, while other plugins install fine?
- Why does manual clone not get recognized by Neovim — the pack/start directory seems correct but plugin isn’t loaded.
- Is there a known compatibility issue between Copilot (either version) and my environment?
- Are there recommended steps to install Copilot manually (or via Lazy.nvim) to avoid hanging / detection issues?
- If both official versions consistently fail, is there a known alternative or fork that works reliably?
✅ What I’ve ruled out
- Network instability / Git config -> I successfully cloned other repos.
- Wrong folder path -> folder structure is correct.
- Other plugin conflicts -> other plugins load and work normally.
- Node.js / Neovim versions -> meet minimum requirements.
- Lenguaje dominante
- Vim Script
- Estrellas
- 11.7k
- Forks
- 812
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/copilot.vim
-
No link to DeepWiki Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
github/copilot.vim#303 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/copilot.vim#276 · 1 comentario · 1 reacción ·
-
Neomarley Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 1/100
github/copilot.vim#304 ·
-
Readme. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 20/100
github/copilot.vim#302 · 4 comentarios ·
-
Micky Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 1/100
github/copilot.vim#301 ·
Todos los issues de github/copilot.vim
Issues similares
-
ZCode 3.14.3 に対応する Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
supermomonga/zcode-acp#24 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
learningequality/ricecooker#747 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
KhronosGroup/glTF-Blender-IO#2769 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100