No description
Find a file
Barrett Ruth fe16245881
Some checks are pending
luarocks / quality (push) Waiting to run
luarocks / publish (push) Blocked by required conditions
feat: add healthcheck (#9)
* feat: add healthcheck

Problem: users had no way to diagnose why completions were missing or
incomplete beyond checking for the ghostty executable.

Solution: add a :checkhealth module that verifies blink.cmp is
installed, ghostty is on PATH, +show-config --docs produces output,
and the bash completion file exists for enum values.

* fix: revert blanket diagnostics.disable and selene comments

Problem: .luarc.json blanket-disabled four diagnostic categories
project-wide, and selene inline directives were added to suppress
warnings on io.open monkey-patching in tests.

Solution: revert .luarc.json to match main and remove selene comments.

* refactor: reuse main module's bash completion path resolution in healthcheck

Problem: health.lua duplicated the entire bash completion file
resolution chain (exepath -> realpath -> prefix match -> path
construction) from the main module, risking drift if the logic changes.

Solution: extract M.bash_completion_path() from parse_enums() and call
it from both parse_enums and the healthcheck.
2026-02-20 21:01:32 -05:00
.github feat: initial release 2026-02-20 16:55:55 -05:00
lua feat: add healthcheck (#9) 2026-02-20 21:01:32 -05:00
spec perf: async cache initialization and remove deepcopy (#8) 2026-02-20 21:01:21 -05:00
.busted feat: initial release 2026-02-20 16:55:55 -05:00
.editorconfig feat: initial release 2026-02-20 16:55:55 -05:00
.gitignore fix: dont commit envrc 2026-02-20 17:22:29 -05:00
.luarc.json feat: initial release 2026-02-20 16:55:55 -05:00
.pre-commit-config.yaml feat: initial release 2026-02-20 16:55:55 -05:00
.prettierignore feat: initial release 2026-02-20 16:55:55 -05:00
.prettierrc feat: initial release 2026-02-20 16:55:55 -05:00
blink-cmp-ghostty-scm-1.rockspec feat: initial release 2026-02-20 16:55:55 -05:00
flake.lock feat: initial release 2026-02-20 16:55:55 -05:00
flake.nix feat: initial release 2026-02-20 16:55:55 -05:00
LICENSE feat: initial release 2026-02-20 16:55:55 -05:00
README.md fix(ci): format 2026-02-20 18:38:54 -05:00
selene.toml feat: initial release 2026-02-20 16:55:55 -05:00
stylua.toml feat: initial release 2026-02-20 16:55:55 -05:00
vim.toml feat: initial release 2026-02-20 16:55:55 -05:00

blink-cmp-ghostty

Ghostty configuration completion source for blink.cmp.

blink-cmp-ghostty preview

Features

  • Completes Ghostty configuration keys with documentation
  • Provides enum values for configuration options
  • Documentation extracted from ghostty +show-config --docs

Requirements

Installation

Install via luarocks:

luarocks install blink-cmp-ghostty

Or with lazy.nvim:

{
  'saghen/blink.cmp',
  dependencies = {
    'barrettruth/blink-cmp-ghostty',
  },
  opts = {
    sources = {
      default = { 'ghostty' },
      providers = {
        ghostty = {
          name = 'Ghostty',
          module = 'blink-cmp-ghostty',
        },
      },
    },
  },
}