dev: renamed core to katppuccino

dev-remaster
Pocco81 3 years ago
parent ba0c6fe04a
commit 7c3155fa1b

@ -1,7 +1,7 @@
local M = {}
function M.get_colors(cs)
return require("catppuccino.core.cs").get_color_scheme(cs)
return require("katppuccino.core.cs").get_color_scheme(cs)
end
return M

@ -13,14 +13,14 @@ end
function M.get(cp)
if not get_prepakatppuccino5() then
local catppuccino = require("catppuccino")
if catppuccino.after_loading ~= nil then
catppuccino.after_loading = function ()
catppuccino.after_loading()
local katppuccino = require("katppuccino")
if katppuccino.after_loading ~= nil then
katppuccino.after_loading = function ()
katppuccino.after_loading()
require'lightspeed'.init_highlight()
end
else
catppuccino.after_loading = function ()
katppuccino.after_loading = function ()
require'lightspeed'.init_highlight()
end
end

@ -1,7 +1,7 @@
local M = {}
function M.get(cp)
local config = require("catppuccino.config").options
local config = require("katppuccino.config").options
local root_dir_color = cp.katppuccino4

@ -1,5 +1,5 @@
local colors_util = require("catppuccino.utils.colors")
local color_palette = require("catppuccino.core.color_palette")
local colors_util = require("katppuccino.utils.colors")
local color_palette = require("katppuccino.core.color_palette")
local M = {}
@ -190,7 +190,7 @@ local function get_integrations()
final_integrations = vim.tbl_deep_extend(
"force",
final_integrations,
require("catppuccino.core.integrations." .. integration).get(color_palette)
require("katppuccino.core.integrations." .. integration).get(color_palette)
)
end
end
@ -198,7 +198,7 @@ local function get_integrations()
final_integrations = vim.tbl_deep_extend(
"force",
final_integrations,
require("catppuccino.core.remaps").get_hig_remaps() or {}
require("katppuccino.core.remaps").get_hig_remaps() or {}
)
return final_integrations
end
@ -208,7 +208,7 @@ local function get_terminal()
local cp = color_palette
g.terminal_color_0 = cp.katppuccino0
g.terminal_color_1 = cp.catppuccino1
g.terminal_color_1 = cp.katppuccino1
g.terminal_color_2 = cp.katppuccino2
g.terminal_color_3 = cp.katppuccino3
g.terminal_color_4 = cp.katppuccino4
@ -221,7 +221,7 @@ local function get_terminal()
end
function M.apply()
_G.cnf = require("catppuccino.config").options
_G.cnf = require("katppuccino.config").options
local theme = {}
theme.properties = get_properties() -- nvim settings

Loading…
Cancel
Save