diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-09-20 20:50:03 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-09-20 20:50:03 +0200 |
commit | c41627ea1d440f68d79d0d9ecd87574814ce1fae (patch) | |
tree | e21632c896238845f4f4460385a206070a9e2926 /.config/nvim/lua/coal/util.lua | |
parent | f832cfd694e98ce27f76cc5370b8daf9cc634b19 (diff) |
Update bg once again, cleaner dark
Diffstat (limited to '.config/nvim/lua/coal/util.lua')
-rw-r--r-- | .config/nvim/lua/coal/util.lua | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/.config/nvim/lua/coal/util.lua b/.config/nvim/lua/coal/util.lua deleted file mode 100644 index dbac18a..0000000 --- a/.config/nvim/lua/coal/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 |