Automatically validate your Ghostty configuration on save
demo.mp4
Using lazy.nvim
{
"isak102/ghostty.nvim",
config = function()
require("ghostty").setup()
end,
}
The following is the default configuration, and can be passed into the setup()
function:
{
-- The autocmd pattern matched against the filename of the buffer. If this pattern
-- matches, ghostty.nvim will run on save in that buffer. This pattern is passed to
-- nvim_create_autocmd, check `:h autocmd-pattern` for more information. Can be
-- either a string or a list of strings
file_pattern = "*/ghostty/config",
-- The ghostty executable to run.
ghostty_cmd = "ghostty",
-- The timeout in milliseconds for the check command.
-- If the command takes longer than this it will be killed.
check_timeout = 1000,
}
- Add option to automatically reload ghostty configuration after it has been validated
- Add
blink.cmp
completion source for config keys (if possible)
This plugin is not affiliated with the Ghostty project in any way. Thanks @mitchellh and all contributors for building this great terminal!