dev (formatter): formatted with StyLua main

dev-doc
Pocco81 3 years ago
parent 4eed8788a7
commit 685a90ad9a

@ -19,8 +19,8 @@ config.options = {
errors = "italic",
hints = "italic",
warnings = "italic",
information = "italic"
}
information = "italic",
},
},
lsp_trouble = false,
lsp_saga = false,
@ -40,7 +40,7 @@ config.options = {
barbar = false,
bufferline = false,
markdown = false,
}
},
}
function config.set_options(opts)

@ -5,14 +5,14 @@ local utils = require("catppuccino.utils.util")
local function load(args)
local catppuccino = require("catppuccino")
if (catppuccino.before_loading ~= nil) then
if catppuccino.before_loading ~= nil then
catppuccino.before_loading()
end
local theme = require("catppuccino.core.mapper").apply(args)
utils.load(theme)
if (catppuccino.after_loading ~= nil) then
if catppuccino.after_loading ~= nil then
catppuccino.after_loading()
end
end
@ -20,7 +20,7 @@ end
function M.main(option, args)
option = option or "load"
if (option == "load") then
if option == "load" then
load(args)
else
print("Catppuccino: command was not recognized")

Loading…
Cancel
Save