ghostty colorscheme that mirrors Ghostty's active theme

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jannikdonkerandClaude Opus 5.5 committed 2026-11-05 07:44:53 +01:00
1 parent feda98c061
commit a96694b377
3 files changed
+560 -1

No files matched your search

+5 -1
View File
@@ -34,7 +34,11 @@ vim.pack.add({
{ src = "https://github.com/r-pletnev/pdfreader.nvim" },
})
pcall(vim.cmd.colorscheme, "gruvbox")
-- Follow Ghostty's active theme; fall back to gruvbox elsewhere.
require("ghostty_theme").setup()
if not pcall(vim.cmd.colorscheme, "ghostty") or vim.g.colors_name ~= "ghostty" then
pcall(vim.cmd.colorscheme, "gruvbox")
end
-- Light/dark follows the terminal (Ghostty: `theme = light:...,dark:...`).
-- Nvim asks the terminal for its background at startup and again whenever the