fix: access config.options within setup instead of global
This commit is contained in:
parent
a3b558b552
commit
81a6845098
@ -1,6 +1,5 @@
|
|||||||
local util = require("tokyonight.util")
|
local util = require("tokyonight.util")
|
||||||
local colors = require("tokyonight.colors")
|
local colors = require("tokyonight.colors")
|
||||||
local config = require("tokyonight.config").options
|
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
--
|
--
|
||||||
@ -14,6 +13,7 @@ local M = {}
|
|||||||
|
|
||||||
---@return Theme
|
---@return Theme
|
||||||
function M.setup()
|
function M.setup()
|
||||||
|
local config = require("tokyonight.config").options
|
||||||
---@class Theme
|
---@class Theme
|
||||||
---@field base Highlights
|
---@field base Highlights
|
||||||
---@field plugins Highlights
|
---@field plugins Highlights
|
||||||
|
Loading…
Reference in New Issue
Block a user