Skip to content

Commit

Permalink
fix(extra): update color format for the warp extra
Browse files Browse the repository at this point in the history
  • Loading branch information
pauchiner committed Feb 12, 2024
1 parent a80a269 commit b3695ce
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lua/pastelnight/extra/warp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ local M = {}

--- @param colors ColorScheme
function M.generate(colors)
local warpColors = {}
for k, v in pairs(colors) do
if type(v) == 'string' then
warpColors[k] = v:gsub('^#', '0x')
end
end

local warp = util.template(
[[
accent: '${purple}'
Expand All @@ -37,7 +30,7 @@ terminal_colors:
white: '${fg}'
yellow: '${yellow}'
]],
warpColors
colors
)

return warp
Expand Down

0 comments on commit b3695ce

Please sign in to comment.