From 81a68450989dcf304decbc27a69658f21a9c6038 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 5 Sep 2022 16:10:05 +0200 Subject: [PATCH] fix: access config.options within setup instead of global --- lua/tokyonight/theme.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index 6c98fa7..4b93497 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -1,6 +1,5 @@ local util = require("tokyonight.util") local colors = require("tokyonight.colors") -local config = require("tokyonight.config").options local M = {} -- @@ -14,6 +13,7 @@ local M = {} ---@return Theme function M.setup() + local config = require("tokyonight.config").options ---@class Theme ---@field base Highlights ---@field plugins Highlights