summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/util.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-22 18:44:10 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-22 18:44:10 +0100
commitdecc826a2fb93b6793b0db1e915b5c27ff01708a (patch)
tree3c811b27ea80aace5885da4dfce42edbdd68f14c /lua/no-clown-fiesta/util.lua
parent54408d7ecfd76505da345b31688f755b1baf3423 (diff)
chore(format): format all files with stylua
Diffstat (limited to 'lua/no-clown-fiesta/util.lua')
-rw-r--r--lua/no-clown-fiesta/util.lua28
1 files changed, 14 insertions, 14 deletions
diff --git a/lua/no-clown-fiesta/util.lua b/lua/no-clown-fiesta/util.lua
index 07f71a2..dbac18a 100644
--- a/lua/no-clown-fiesta/util.lua
+++ b/lua/no-clown-fiesta/util.lua
@@ -1,25 +1,25 @@
local M = {}
local function highlight(group, properties)
- local bg = properties.bg == nil and "" or "guibg=" .. properties.bg
- local fg = properties.fg == nil and "" or "guifg=" .. properties.fg
- local style = properties.style == nil and "" or "gui=" .. properties.style
+ local bg = properties.bg == nil and "" or "guibg=" .. properties.bg
+ local fg = properties.fg == nil and "" or "guifg=" .. properties.fg
+ local style = properties.style == nil and "" or "gui=" .. properties.style
- local cmd = table.concat({
- "highlight",
- group,
- bg,
- fg,
- style,
- }, " ")
+ local cmd = table.concat({
+ "highlight",
+ group,
+ bg,
+ fg,
+ style,
+ }, " ")
- vim.api.nvim_command(cmd)
+ vim.api.nvim_command(cmd)
end
function M.initialise(skeleton)
- for group, properties in pairs(skeleton) do
- highlight(group, properties)
- end
+ for group, properties in pairs(skeleton) do
+ highlight(group, properties)
+ end
end
return M