refactor: standardize naming for utility module
This commit is contained in:
@@ -78,14 +78,14 @@ end
|
|||||||
|
|
||||||
function M.get_color()
|
function M.get_color()
|
||||||
local total_minutes = M.get_total_minutes()
|
local total_minutes = M.get_total_minutes()
|
||||||
local rootilities = require("utils.rootiest") -- Adjust according to your actual setup
|
local utils = require("utils.rootiest") -- Adjust according to your actual setup
|
||||||
|
|
||||||
if total_minutes >= 60 then
|
if total_minutes >= 60 then
|
||||||
return { fg = rootilities.get_fg_color("GitSignsAdd") }
|
return { fg = utils.get_fg_color("GitSignsAdd") }
|
||||||
elseif total_minutes >= 30 then
|
elseif total_minutes >= 30 then
|
||||||
return { fg = rootilities.get_fg_color("GitSignsChange") }
|
return { fg = utils.get_fg_color("GitSignsChange") }
|
||||||
else
|
else
|
||||||
return { fg = rootilities.get_fg_color("GitSignsDelete") }
|
return { fg = utils.get_fg_color("GitSignsDelete") }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user