Repository navigation
v1.0.0
cmp-ghq v1.0.0
First semver release of cmp-ghq — an nvim-cmp source that completes repository paths managed by ghq.
Features
- Lists local ghq repositories via
ghq list -pand offers their paths as completion candidates - Resolves each repository's
originURL viagit remote -vso the URL host/path can also be completed - Asynchronous gather pipeline using
vim.systemwith a configurable concurrency limit (semaphore-based) - Per-directory caching of computed candidates; jobs are tracked so
isIncompleteis reported correctly until everything settles - Configurable
ghq/gitexecutables,concurrency,keyword_pattern,trigger_characters
Requirements
- Neovim HEAD
- plenary.nvim
- nvim-cmp
ghqandgitexecutables on$PATH
Setup
{
"hrsh7th/nvim-cmp",
dependencies = { "delphinus/cmp-ghq" },
opts = function(_, opts)
table.insert(opts.sources, { name = "ghq" })
end,
}