No description
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. |
||
|---|---|---|
| .github | ||
| lua | ||
| spec | ||
| .busted | ||
| .editorconfig | ||
| .gitignore | ||
| .luarc.json | ||
| .pre-commit-config.yaml | ||
| .prettierignore | ||
| .prettierrc | ||
| blink-cmp-ghostty-scm-1.rockspec | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| selene.toml | ||
| stylua.toml | ||
| vim.toml | ||
blink-cmp-ghostty
Ghostty configuration completion source for blink.cmp.
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',
},
},
},
},
}