From 75488a16c44d2f6f7da2165c592cb1f170660e53 Mon Sep 17 00:00:00 2001 From: Mykhailo Nikiforov Date: Fri, 15 Sep 2023 13:38:01 +0300 Subject: [PATCH] theme should be loaded in the beginning to make transparency work --- lua/config/lazy.lua | 10 ++++++++++ lua/plugins/tokyonight.lua | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 lua/plugins/tokyonight.lua diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index ea2f472..4003cb3 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -11,6 +11,16 @@ require("lazy").setup({ spec = { -- add LazyVim and import its plugins { "LazyVim/LazyVim", import = "lazyvim.plugins" }, + { + "folke/tokyonight.nvim", + opts = { + transparent = true, + styles = { + sidebars = "transparent", + floats = "transparent", + }, + }, + }, { import = "lazyvim.plugins.extras.ui.mini-animate" }, { import = "lazyvim.plugins.extras.lang.python" }, { import = "lazyvim.plugins.extras.lang.json" }, diff --git a/lua/plugins/tokyonight.lua b/lua/plugins/tokyonight.lua deleted file mode 100644 index 2302514..0000000 --- a/lua/plugins/tokyonight.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - "folke/tokyonight.nvim", - opts = { - transparent = true, - styles = { - sidebars = "transparent", - floats = "transparent", - }, - }, -}