dev
nullchilly 2 years ago
parent 0e78f88e89
commit e3fb003512

@ -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,6 +65,7 @@ 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

Loading…
Cancel
Save