fix: access config.options within setup instead of global

This commit is contained in:
Folke Lemaitre
2022-09-05 16:10:05 +02:00
parent a3b558b552
commit 81a6845098

View File

@@ -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