fix(pretty_path): properly escape % characters
This commit is contained in:
1 file changed
+1
@@ -46,6 +46,7 @@ end
|
||||
---@param hl_group? string
|
||||
---@return string
|
||||
function M.format(component, text, hl_group)
|
||||
text = text:gsub("%%", "%%%%")
|
||||
if not hl_group or hl_group == "" then
|
||||
return text
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user