From 2191de3666608e3eef2713771d8582c11c73e379 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 14 Jan 2022 21:35:43 +0100 Subject: Format with stylua --- lua/no-clown-fiesta/util.lua | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'lua/no-clown-fiesta/util.lua') diff --git a/lua/no-clown-fiesta/util.lua b/lua/no-clown-fiesta/util.lua index dbac18a..07f71a2 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 -- cgit v1.2.3-70-g09d2