Public Access
Revert "lualine theme that follows the ghostty colorscheme"
This reverts commit 5395b963c6.
This commit is contained in:
1 parent
5395b963c6
commit
4766741d86
2 files changed
+3
-29
No files matched your search
@@ -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 },
|
|
||||||
},
|
|
||||||
}
|
|
||||||
+3
-3
@@ -286,9 +286,9 @@ vim.api.nvim_create_autocmd("FileType", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- "auto" builds the theme from the active colorscheme's highlight groups, and
|
-- "gruvbox" picks gruvbox_light or gruvbox_dark from 'background', and lualine
|
||||||
-- lualine rebuilds it on every ColorScheme event (e.g. a Ghostty theme switch).
|
-- reloads it when that changes.
|
||||||
require("lualine").setup({ options = { theme = "auto" } })
|
require("lualine").setup({ options = { theme = "gruvbox" } })
|
||||||
|
|
||||||
-- Treesitter (main branch: no configs.setup; install parsers manually)
|
-- Treesitter (main branch: no configs.setup; install parsers manually)
|
||||||
require("nvim-treesitter").install({
|
require("nvim-treesitter").install({
|
||||||
|
|||||||
Reference in new issue
Block a user