feat: add a new git_ignored theme option to allow customizing the color of ignored files, closes #19
This commit is contained in:
@@ -25,9 +25,9 @@ local function setup(st, opts)
|
||||
local spans = {}
|
||||
for _, tag in ipairs(st.tags[url] or {}) do
|
||||
if self._file:is_hovered() then
|
||||
spans[#spans + 1] = ui.Span("⬤"):bg(st.colors[tag] or "reset")
|
||||
spans[#spans + 1] = ui.Span("●"):bg(st.colors[tag] or "reset")
|
||||
else
|
||||
spans[#spans + 1] = ui.Span("⬤"):fg(st.colors[tag] or "reset")
|
||||
spans[#spans + 1] = ui.Span("●"):fg(st.colors[tag] or "reset")
|
||||
end
|
||||
end
|
||||
return ui.Line(spans)
|
||||
|
||||
Reference in New Issue
Block a user