summaryrefslogtreecommitdiff
path: root/lua/onedarker/util.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-03-24 15:48:33 +0100
committerkylo252 <[email protected]>2022-03-24 15:48:33 +0100
commitf41edc6dfb0d2a4c9875da08bbbdab121e52048f (patch)
treec6541278c6314e58d991bc95e547e903ac58340a /lua/onedarker/util.lua
parent5ee460fdc751a91cdf7a4f4aab2ab784ebdb36fd (diff)
parent1ea836e3601b7ed0ed0496888dc14683bfbcce75 (diff)
Merge remote-tracking branch 'origin/rolling'1.1.3
Diffstat (limited to 'lua/onedarker/util.lua')
-rw-r--r--lua/onedarker/util.lua25
1 files changed, 0 insertions, 25 deletions
diff --git a/lua/onedarker/util.lua b/lua/onedarker/util.lua
deleted file mode 100644
index dbac18a2..00000000
--- a/lua/onedarker/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