No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
danny 799b61c51f completion: gate blink-copilot at blink-load time, not startup
The previous gate (107d3c5) evaluated `pcall(require, "blink-copilot")` at
the top of completion.lua, which runs at startup when lazy collects specs.
But blink-copilot is a dependency of blink.cmp, which is event-loaded on
InsertEnter — lazy only adds it to the runtimepath when blink loads, after
startup. So the startup pcall was always false even when blink-copilot was
installed and :Copilot authed, and "copilot" never joined sources.default.
Result: Copilot was Online/Attached but blink never queried it (no
completions in the menu).

Move the gate into blink's config function, which runs at blink-load time
after lazy has loaded the dependency and added it to rtp. There pcall
succeeds and "copilot" is appended to sources.default; if the module isn't
requireable (pre-install) it's left out, preserving the original crash
guard (blink does an unguarded require() of each source module when
building the provider list). Verified headless: sources.default now
includes "copilot" and blink.show triggers with no error.
2026-08-15 05:35:44 +10:00
lua completion: gate blink-copilot at blink-load time, not startup 2026-08-15 05:35:44 +10:00
snippets snippets: add QML starter set; add AGENTS.md noting nixvim/ is an archive 2026-08-15 04:02:10 +10:00
.gitignore Stop tracking lazy-lock.json — let it drift freely per host 2026-07-28 19:44:10 +10:00
AGENTS.md snippets: add QML starter set; add AGENTS.md noting nixvim/ is an archive 2026-08-15 04:02:10 +10:00
CHEATSHEET.md aerial: correct the toggle keymap docs; document outline keys 2026-08-02 20:27:23 +10:00
init.lua Swap avante.nvim and pi-nvim for opencode.nvim 2026-07-28 23:42:01 +10:00