summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/dark/util.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-09-17 20:42:09 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-09-17 20:42:09 +0200
commit65f19f00fdfaab36ec062a7128537894fc58853d (patch)
tree6ceea4b3bbca95bcf11d8b9366d6b5e6dc856fc2 /.config/nvim/lua/dark/util.lua
parent1de9cbcdb2ae746ff68b0667c8f7dfc95a11c186 (diff)
Rename color theme from dark to coal
Diffstat (limited to '.config/nvim/lua/dark/util.lua')
-rw-r--r--.config/nvim/lua/dark/util.lua25
1 files changed, 0 insertions, 25 deletions
diff --git a/.config/nvim/lua/dark/util.lua b/.config/nvim/lua/dark/util.lua
deleted file mode 100644
index dbac18a..0000000
--- a/.config/nvim/lua/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