-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Copy link
Milestone
Description
Discussed in #10076
Originally posted by magnolia-k December 27, 2025
Issue Description
Vim isn't recognizing the macOS-specific config as a Ghostty configuration file
Expected Behavior
The macOS-specific config is recognized as a Ghostty configuration file in Vim.
Actual Behavior
ftdetect/ghostty is missing some necessary path definitions
I think we should modify the code as follows so that Vim recognizes $HOME/Library/Application\ Support/com.mitchellh.ghostty/config as a Ghostty configuration file
au BufRead,BufNewFile */ghostty/config,*/ghostty/themes/*,*/*.ghostty/config setf ghostty
Reproduction Steps
Set the $EDITOR environment variable to vim or nvim in the macOS shell, then run ghostty +edit-config.
Ghostty Logs
No response
Ghostty Version
% ghostty --version
Ghostty 1.2.3
Version
- version: 1.2.3
- channel: stable
Build Config
- Zig version : 0.14.1
- build mode : builtin.OptimizeMode.ReleaseFast
- app runtime : apprt.Runtime.none
- font engine : font.main.Backend.coretext
- renderer : renderer.generic.Renderer(renderer.Metal)
- libxev : kqueue
OS Version Information
macOS 26 Tahoe
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
The following file must exist
`$HOME/Library/Application\ Support/com.mitchellh.ghostty/config`Additional Relevant Configuration
No response
I acknowledge that:
- I have reviewed the FAQ and confirm that my issue is NOT among them.
- I have searched the Ghostty repository (both open and closed Discussions and Issues) and confirm this is not a duplicate of an existing issue or discussion.
- I have checked the "Preview" tab on all text fields to ensure that everything looks right, and have wrapped all configuration and code in code blocks with a group of three backticks (
```) on separate lines.
Metadata
Metadata
Assignees
Labels
No labels