No description
Find a file
Barrett Ruth 7d95afba81
feat: detect ghostty config files by canonical path
Problem: enabled() only checked for the 'ghostty' filetype, but many
users have ghostty config files detected as 'config' or with no
filetype set. These users got no completions.

Solution: check canonical ghostty config directories
($XDG_CONFIG_HOME/ghostty, ~/.config/ghostty, /etc/ghostty) when the
filetype is 'config' or empty, resolving symlinks to handle indirect
paths.
2026-02-20 20:15:18 -05:00
.github feat: initial release 2026-02-20 16:55:55 -05:00
lua feat: detect ghostty config files by canonical path 2026-02-20 20:15:18 -05:00
spec feat: detect ghostty config files by canonical path 2026-02-20 20:15:18 -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',
        },
      },
    },
  },
}