summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/dark/util.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-10 21:38:56 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-10 21:38:56 +0100
commit777d71ee7f83f44f53eed3f876c3adca00ade22a (patch)
treeb7b2e0c514024da15d52b645f8684b0dbb32363c /lua/no-clown-fiesta/dark/util.lua
parent0a6cfb9721f280c854487a11131935ccf5d9b3bc (diff)
Remove dark folder
Diffstat (limited to 'lua/no-clown-fiesta/dark/util.lua')
-rw-r--r--lua/no-clown-fiesta/dark/util.lua25
1 files changed, 0 insertions, 25 deletions
diff --git a/lua/no-clown-fiesta/dark/util.lua b/lua/no-clown-fiesta/dark/util.lua
deleted file mode 100644
index dbac18a..0000000
--- a/lua/no-clown-fiesta/dark/util.lua
+++ /dev/null
@@ -1,25 +0,0 @@
-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 cmd = table.concat({
- "highlight",
- group,
- bg,
- fg,
- style,
- }, " ")
-
- vim.api.nvim_command(cmd)
-end
-
-function M.initialise(skeleton)
- for group, properties in pairs(skeleton) do
- highlight(group, properties)
- end
-end
-
-return M