diff options
author | Christian Chiarulli <[email protected]> | 2021-08-30 00:59:23 -0400 |
---|---|---|
committer | Christian Chiarulli <[email protected]> | 2021-08-30 00:59:23 -0400 |
commit | 0f458a04688d71d194fc104351f8cda5aff936af (patch) | |
tree | d95ebf0904c70584eb0576c91c5c74515e0ca4a5 /lua/spacegray/util.lua | |
parent | 5ede0c906ab174678e39237fe55f24bc5ae99348 (diff) |
onedarker colorscheme
Diffstat (limited to 'lua/spacegray/util.lua')
-rw-r--r-- | lua/spacegray/util.lua | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lua/spacegray/util.lua b/lua/spacegray/util.lua deleted file mode 100644 index dbac18a2..00000000 --- a/lua/spacegray/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 |