Skip to content

Commit

Permalink
remove compile_onefile feature
Browse files Browse the repository at this point in the history
  • Loading branch information
siduck committed Sep 2, 2024
1 parent e9d2562 commit 94957a0
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions lua/base46/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,24 +150,14 @@ M.compile = function()
M.str_to_cache("term", require "base46.term")
M.str_to_cache("colors", require "base46.color_vars")

local all_str = ""

for _, name in ipairs(integrations) do
local hl_str = M.tb_2str(M.get_integration(name))

if name == "defaults" then
hl_str = "vim.o.tgc=true vim.o.bg='" .. M.get_theme_tb "type" .. "' " .. hl_str
end

if opts.compile_onefile then
all_str = all_str .. hl_str
else
M.str_to_cache(name, hl_str)
end
end

if opts.compile_onefile then
M.str_to_cache("all", all_str)
M.str_to_cache(name, hl_str)
end
end

Expand Down

0 comments on commit 94957a0

Please sign in to comment.