fix: added default colorscheme

dev-doc
Pocco81 3 years ago
parent 20a0f1dd15
commit 526bb7a395

@ -2,6 +2,7 @@ local M = {}
local remaps_mod = require("catppuccino.core.remaps") local remaps_mod = require("catppuccino.core.remaps")
function M.get_color_scheme(cs) function M.get_color_scheme(cs)
cs = cs or "dark_catppuccino"
local remaps = remaps_mod.get_cs_remaps() or {} local remaps = remaps_mod.get_cs_remaps() or {}
local good, color_scheme = pcall(require, "catppuccino.color_schemes." .. cs) local good, color_scheme = pcall(require, "catppuccino.color_schemes." .. cs)

Loading…
Cancel
Save