mirror of https://github.com/sgoudham/nvim.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.8 KiB
Lua
49 lines
1.8 KiB
Lua
3 years ago
|
local M = {}
|
||
|
|
||
3 years ago
|
local is_prepakatppuccino5
|
||
3 years ago
|
|
||
3 years ago
|
local function set_prepakatppuccino5(val)
|
||
|
is_prepakatppuccino5 = val
|
||
3 years ago
|
end
|
||
|
|
||
3 years ago
|
local function get_prepakatppuccino5()
|
||
|
return is_prepakatppuccino5
|
||
3 years ago
|
end
|
||
|
|
||
3 years ago
|
function M.get(cp)
|
||
3 years ago
|
|
||
3 years ago
|
if not get_prepakatppuccino5() then
|
||
3 years ago
|
local catppuccino = require("catppuccino")
|
||
|
if catppuccino.after_loading ~= nil then
|
||
|
catppuccino.after_loading = function ()
|
||
|
catppuccino.after_loading()
|
||
|
require'lightspeed'.init_highlight()
|
||
|
end
|
||
|
else
|
||
|
catppuccino.after_loading = function ()
|
||
|
require'lightspeed'.init_highlight()
|
||
|
end
|
||
|
end
|
||
3 years ago
|
set_prepakatppuccino5(true)
|
||
3 years ago
|
end
|
||
|
|
||
|
return {
|
||
3 years ago
|
LightspeedLabel = {bg = cp.katppuccino12, fg = cp.katppuccino10},
|
||
|
LightspeedOverlapped = {bg = cp.katppuccino12, fg = cp.katppuccino10},
|
||
3 years ago
|
LightspeedLabelDistant = {bg = cp.katppuccino3, fg = cp.katppuccino10},
|
||
|
LightspeedLabelDistantOverlapped = {bg = cp.katppuccino3, fg = cp.katppuccino10},
|
||
3 years ago
|
LightspeedShortcut = {bg = cp.katppuccino1, fg = cp.katppuccino6, style = "italic"},
|
||
|
LightspeedShortcutOverlapped = {bg = cp.katppuccino1, fg = cp.katppuccino6, style = "bold"},
|
||
3 years ago
|
LightspeedMaskedChar = {bg = cp.katppuccino1, fg = cp.katppuccino5, style = "undercurl"},
|
||
3 years ago
|
LightspeedGreyWash = {bg = cp.katppuccino1, fg = cp.katppuccino11},
|
||
3 years ago
|
LightspeedUnlabeledMatch = {bg = cp.katppuccino1, fg = cp.katppuccino5, style = "underline"},
|
||
|
LightspeedOneCharMatch = {bg = cp.katppuccino1, fg = cp.katppuccino5, style = "underline"},
|
||
3 years ago
|
LightspeedUniqueChar = {bg = cp.katppuccino1, fg = cp.katppuccino0, style = "strikethrough"},
|
||
|
LightspeedPendingOpArea = {bg = cp.katppuccino1, fg = cp.katppuccino0, style = "strikethrough"},
|
||
|
LightspeedPendingChangeOpArea = {bg = cp.katppuccino1, fg = cp.katppuccino0, style = "strikethrough"},
|
||
3 years ago
|
LightspeedCursor = {fg = cp.katppuccino1, bg = cp.katppuccino10},
|
||
3 years ago
|
}
|
||
|
end
|
||
|
|
||
|
return M
|