Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
theJian authored and github-actions[bot] committed Dec 6, 2023
1 parent eb4559a commit 8cad2bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lua/moonwalk/palette/dark.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local bit = require 'bit'
local bxor, lshift, rshift, band, tohex, bor = bit.bxor, bit.lshift, bit.rshift, bit.band, bit.tohex, bit.bor
local floor = math.floor
local light_palette = require'moonwalk.palette.light'.default
local light_palette = require('moonwalk.palette.light').default

local M = {}

Expand All @@ -11,7 +11,7 @@ local function invert(hex)
r = bxor(0xff, r)
g = bxor(0xff, g)
b = bxor(0xff, b)
return '#'..tohex(bor(lshift(floor(r), 16), lshift(floor(g), 8), floor(b)), 6)
return '#' .. tohex(bor(lshift(floor(r), 16), lshift(floor(g), 8), floor(b)), 6)
end

M.default = {
Expand Down
4 changes: 2 additions & 2 deletions lua/moonwalk/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function M.get_palette()
end

function M.load_schemes(opts)
local colors = require'moonwalk.palette'.get_colors()
local colors = require('moonwalk.palette').get_colors()
for _, name in ipairs(schemes.exports) do
local module = 'moonwalk.schemes.' .. name
if vim.env.MOONWALK_DEV then
Expand Down Expand Up @@ -45,7 +45,7 @@ function M.live_reloading()
end

function M.set_terminal_color()
local c = require'moonwalk.palette'.get_colors()
local c = require('moonwalk.palette').get_colors()
vim.g.terminal_color_0 = c.term_black
vim.g.terminal_color_8 = c.term_bright_black

Expand Down

0 comments on commit 8cad2bc

Please sign in to comment.