feat: detect ghostty config files by canonical path #7
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/blink-cmp-ghostty!7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/filetypes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
enabled()only checked for theghosttyfiletype, but many users have ghostty config files detected asconfigor with no filetype set, so they got no completions.Closes #6
Solution
Check canonical ghostty config directories (
$XDG_CONFIG_HOME/ghostty,~/.config/ghostty,/etc/ghostty) when the filetype isconfigor empty, resolving symlinks to handle indirect paths.