From 1f54b365025f2576adaa63e28ddb46a1821037f4 Mon Sep 17 00:00:00 2001 From: wires Date: Sat, 8 Mar 2025 08:44:12 -0500 Subject: [PATCH] delete useless module --- lua/utils/theme.lua | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 lua/utils/theme.lua diff --git a/lua/utils/theme.lua b/lua/utils/theme.lua deleted file mode 100644 index f83f96c..0000000 --- a/lua/utils/theme.lua +++ /dev/null @@ -1,24 +0,0 @@ -local M = {} - -M.set_highlight = function(hi, colors) - local hi_str = '' - - for k, v in pairs(colors) do - hi_str = hi_str .. k .. '=' .. v .. ' ' - end - - vim.cmd(('hi %s %s'):format(hi, hi_str)) -end - -M.get_highlight = function(hi) - local hi_str = vim.api.nvim_command_output(('hi %s'):format(hi)) - - local colors = {} - for key, val in string.gmatch(hi_str, '(%w+)=(%S+)') do - colors[key] = val - end - - return colors -end - -return M