optional cwd bugfix

main
bhagwan 3 years ago
parent 619bdc70e4
commit daee2543c8

@ -5,7 +5,7 @@ M.separator = function()
end
M.starts_with_separator = function(path)
return path:match("^[^"..M.separator().."]+")
return path:find(M.separator()) == 1
end
M.tail = (function()

@ -71,10 +71,8 @@ local function diagnostics_handler(opts, cb, _, entry)
icon = utils.ansi_codes[severity.color or "dark_grey"](icon)
end
if opts.file_icons or opts.git_icons then
-- entry = icon .. utils.nbsp .. utils.nbsp .. entry
entry = icon .. utils.nbsp .. utils.nbsp .. entry
else
-- entry = icon .. utils.nbsp .. " " .. entry
entry = icon .. utils.nbsp .. " " .. entry
end
end

Loading…
Cancel
Save