Wombat: change base ansi colors depending on terminal emulator

This commit is contained in:
ViViDboarder 2025-01-10 11:13:28 -08:00
parent c4dd78d1e8
commit de6a24e575

View File

@ -3,6 +3,18 @@ local utils = require("utils")
return { return {
{ {
"https://github.com/ViViDboarder/wombat.nvim", "https://github.com/ViViDboarder/wombat.nvim",
opts = function(_, opts)
-- Set ansi base colors for wombat theme based on terminal program
local term_program = vim.env.TERM_PROGRAM
if term_program == "ghostty" then
opts.ansi_colors_name = "ghostty"
elseif term_program == "iTerm.app" then
opts.ansi_colors_name = "iterm2"
end
return opts
end,
dependencies = { dependencies = {
{ {
"https://github.com/rktjmp/lush.nvim", "https://github.com/rktjmp/lush.nvim",