|
|
@ -41,10 +41,10 @@ function M.load()
|
|
|
|
|
|
|
|
|
|
|
|
if config.compile.enable == true then
|
|
|
|
if config.compile.enable == true then
|
|
|
|
local compiled_path = config.compile.path
|
|
|
|
local compiled_path = config.compile.path
|
|
|
|
.. (vim.loop.os_uname().sysname == "Windows" and "\\" or "/")
|
|
|
|
.. (vim.loop.os_uname().sysname == "Windows" and "\\" or "/")
|
|
|
|
.. vim.g.catppuccin_flavour
|
|
|
|
.. vim.g.catppuccin_flavour
|
|
|
|
.. config.compile.suffix
|
|
|
|
.. config.compile.suffix
|
|
|
|
.. ".lua"
|
|
|
|
.. ".lua"
|
|
|
|
local f = io.open(compiled_path, "r")
|
|
|
|
local f = io.open(compiled_path, "r")
|
|
|
|
if f ~= nil then
|
|
|
|
if f ~= nil then
|
|
|
|
io.close(f)
|
|
|
|
io.close(f)
|
|
|
@ -65,7 +65,6 @@ function M.load()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function M.setup(custom_opts)
|
|
|
|
function M.setup(custom_opts)
|
|
|
|
hello
|
|
|
|
|
|
|
|
require("catppuccin.config").set_options(custom_opts)
|
|
|
|
require("catppuccin.config").set_options(custom_opts)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|