1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00

chore(cpicker): remove duplicate code

This commit is contained in:
Eric Wong 2024-07-15 20:34:10 +08:00
parent e143116bc5
commit 3c87db406c

View File

@ -67,12 +67,6 @@ function M.set_default_color(formats)
end
end
elseif #inspect.treesitter > 0 then
local fg =
vim.api.nvim_get_hl(0, { name = inspect.treesitter[#inspect.treesitter].hl_group_link }).fg
if fg then
hex = string.format('#%06X', fg)
end
for i = #inspect.treesitter, 1, -1 do
local fg = vim.api.nvim_get_hl(0, { name = inspect.treesitter[i].hl_group_link }).fg
if fg then