mirror of
https://github.com/gabehf/base46.git
synced 2026-03-11 08:20:54 -07:00
rm useless variable
This commit is contained in:
parent
eea1c3155a
commit
2ea5c59d58
1 changed files with 1 additions and 2 deletions
|
|
@ -106,9 +106,8 @@ M.saveStr_to_cache = function(filename, tb)
|
|||
local bg_opt = "vim.opt.bg='" .. M.get_theme_tb "type" .. "'"
|
||||
local defaults_cond = filename == "defaults" and bg_opt or ""
|
||||
|
||||
local cache_path = vim.fn.stdpath "cache" .. "/nvchad/base46/"
|
||||
local lines = "return string.dump(function()" .. defaults_cond .. M.table_to_str(tb) .. "end, true)"
|
||||
local file = io.open(cache_path .. filename, "wb")
|
||||
local file = io.open(vim.g.base46_cache .. filename, "wb")
|
||||
|
||||
if file then
|
||||
file:write(loadstring(lines)())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue