From 73a60f5ee71bb60265ec0c97be7531a5e7605d8c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 13 Jan 2022 19:12:32 +0100 Subject: Remove bloat nvim config --- .config/nvim/lua/dark/util.lua | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .config/nvim/lua/dark/util.lua (limited to '.config/nvim/lua/dark/util.lua') 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 -- cgit v1.2.3-70-g09d2