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.
nvim/lua/katppuccino/core/integrations/lightspeed.lua

49 lines
1.8 KiB
Lua

local M = {}
local is_prepakatppuccino5
local function set_prepakatppuccino5(val)
is_prepakatppuccino5 = val
end
local function get_prepakatppuccino5()
return is_prepakatppuccino5
end
function M.get(cp)
if not get_prepakatppuccino5() then
local katppuccino = require("katppuccino")
if katppuccino.after_loading ~= nil then
katppuccino.after_loading = function ()
katppuccino.after_loading()
require'lightspeed'.init_highlight()
end
else
katppuccino.after_loading = function ()
require'lightspeed'.init_highlight()
end
end
set_prepakatppuccino5(true)
end
return {
LightspeedLabel = {bg = cp.katppuccino12, fg = cp.katppuccino10},
LightspeedOverlapped = {bg = cp.katppuccino12, fg = cp.katppuccino10},
LightspeedLabelDistant = {bg = cp.katppuccino3, fg = cp.katppuccino10},
LightspeedLabelDistantOverlapped = {bg = cp.katppuccino3, fg = cp.katppuccino10},
LightspeedShortcut = {bg = cp.katppuccino1, fg = cp.katppuccino6, style = "italic"},
LightspeedShortcutOverlapped = {bg = cp.katppuccino1, fg = cp.katppuccino6, style = "bold"},
LightspeedMaskedChar = {bg = cp.katppuccino1, fg = cp.katppuccino5, style = "undercurl"},
LightspeedGreyWash = {bg = cp.katppuccino1, fg = cp.katppuccino11},
LightspeedUnlabeledMatch = {bg = cp.katppuccino1, fg = cp.katppuccino5, style = "underline"},
LightspeedOneCharMatch = {bg = cp.katppuccino1, fg = cp.katppuccino5, style = "underline"},
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"},
LightspeedCursor = {fg = cp.katppuccino1, bg = cp.katppuccino10},
}
end
return M