From e3503f0d7d51c8575851f610ac811577df7a919e Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Wed, 25 Aug 2021 22:16:01 -0500 Subject: [PATCH] dev (formatter): formatted with StyLua core/ --- lua/catppuccino/core/cs.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lua/catppuccino/core/cs.lua b/lua/catppuccino/core/cs.lua index a987043..17356cb 100644 --- a/lua/catppuccino/core/cs.lua +++ b/lua/catppuccino/core/cs.lua @@ -15,13 +15,17 @@ function M.get_color_scheme(cs) local good, color_scheme = pcall(require, "catppuccino.color_schemes." .. cs) if not good then - return {status = false, msg = "Catppuccino: the colorscheme '" .. cs .. "' was not recognized. Defaulting to Catppuccino Dark."}, require("catppuccino.color_schemes.catppuccino") + return { + status = false, + msg = "Catppuccino: the colorscheme '" .. cs .. "' was not recognized. Defaulting to Catppuccino Dark.", + }, + require("catppuccino.color_schemes.catppuccino") end if not (next(remaps) == nil) then - return {status = true}, vim.tbl_deep_extend("force", color_scheme, remaps) + return { status = true }, vim.tbl_deep_extend("force", color_scheme, remaps) else - return {status = true}, color_scheme + return { status = true }, color_scheme end end