dev (formatter): formatted with StyLua main

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

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

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

Loading…
Cancel
Save