From 9417ccf85815f98fb4e07c4bea552bd390e187a0 Mon Sep 17 00:00:00 2001 From: Martin Lasson Date: Tue, 4 Feb 2025 23:32:49 +0100 Subject: [PATCH] Remove the is_mirage var from ayu impl. It's not necessarily bad, however, it's inconsistent since I'm already using it hardcoded in other places where I need the colors generated and I cba to implement a dedicated handle for it. --- nvim/lua/plugs/ayu.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nvim/lua/plugs/ayu.lua b/nvim/lua/plugs/ayu.lua index ca7edb6..aca05ec 100644 --- a/nvim/lua/plugs/ayu.lua +++ b/nvim/lua/plugs/ayu.lua @@ -26,11 +26,9 @@ end return { "Shatur/neovim-ayu", config = function() - local is_mirage = true - local ayu = require("ayu") local colors = require("ayu.colors") - colors.generate(is_mirage) + colors.generate(true) local overrides = { global_variable = { @@ -56,8 +54,8 @@ return { } ayu.setup({ - mirage = is_mirage, -- Set to `true` to use `mirage` variant instead of `dark` for dark background. - terminal = false, -- Set to `false` to let terminal manage its own colors. + mirage = true, + terminal = false, overrides = { -- TRANSPARENCY Normal = { bg = "none" },