Skip to content

v1.0.0

Choose a tag to compare

@delphinus delphinus released this 23 Apr 12:10
· 18 commits to main since this release
e7dc3f6

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 -p and offers their paths as completion candidates
  • Resolves each repository's origin URL via git remote -v so the URL host/path can also be completed
  • Asynchronous gather pipeline using vim.system with a configurable concurrency limit (semaphore-based)
  • Per-directory caching of computed candidates; jobs are tracked so isIncomplete is reported correctly until everything settles
  • Configurable ghq / git executables, concurrency, keyword_pattern, trigger_characters

Requirements

  • Neovim HEAD
  • plenary.nvim
  • nvim-cmp
  • ghq and git executables on $PATH

Setup

{
  "hrsh7th/nvim-cmp",
  dependencies = { "delphinus/cmp-ghq" },
  opts = function(_, opts)
    table.insert(opts.sources, { name = "ghq" })
  end,
}