From 4766741d86cf90afc864e92a6c75b1916d1f6650 Mon Sep 17 00:00:00 2001 From: Jannik Donker Date: Thu, 5 Nov 2026 18:41:44 +0100 Subject: [PATCH] Revert "lualine theme that follows the ghostty colorscheme" This reverts commit 5395b963c61eec8ac9af758e019bf6a0e50a83b6. --- lua/lualine/themes/ghostty.lua | 26 -------------------------- lua/plugins.lua | 6 +++--- 2 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 lua/lualine/themes/ghostty.lua diff --git a/lua/lualine/themes/ghostty.lua b/lua/lualine/themes/ghostty.lua deleted file mode 100644 index 5d49a38..0000000 --- a/lua/lualine/themes/ghostty.lua +++ /dev/null @@ -1,26 +0,0 @@ --- Lualine theme built from the ghostty colorscheme's palette. --- Picked automatically by `theme = "auto"` while `colors_name == "ghostty"`. -local c = require("ghostty_theme").colors -if not c then return require("lualine.themes.gruvbox") end -- colorscheme not loaded - -local function mode(color) - return { - a = { fg = c.bg, bg = color, gui = "bold" }, - b = { fg = color, bg = c.bg3 }, - c = { fg = c.fg_dim, bg = c.bg2 }, - } -end - -return { - normal = mode(c.blue), - insert = mode(c.green), - visual = mode(c.yellow), - replace = mode(c.red), - command = mode(c.magenta), - terminal = mode(c.cyan), - inactive = { - a = { fg = c.subtle, bg = c.bg1, gui = "bold" }, - b = { fg = c.subtle, bg = c.bg1 }, - c = { fg = c.subtle, bg = c.bg1 }, - }, -} diff --git a/lua/plugins.lua b/lua/plugins.lua index 96428af..c70e45c 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -286,9 +286,9 @@ vim.api.nvim_create_autocmd("FileType", { end, }) --- "auto" builds the theme from the active colorscheme's highlight groups, and --- lualine rebuilds it on every ColorScheme event (e.g. a Ghostty theme switch). -require("lualine").setup({ options = { theme = "auto" } }) +-- "gruvbox" picks gruvbox_light or gruvbox_dark from 'background', and lualine +-- reloads it when that changes. +require("lualine").setup({ options = { theme = "gruvbox" } }) -- Treesitter (main branch: no configs.setup; install parsers manually) require("nvim-treesitter").install({