feat(lualine): pretty_path now highlights file basename when modified

This commit is contained in:
Folke Lemaitre 2023-10-15 22:37:49 +02:00
parent 782fe0bef0
commit 8af7309c7e
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 69 additions and 37 deletions

View file

@ -49,6 +49,10 @@ setmetatable(M, {
end,
})
function M.is_win()
return vim.loop.os_uname().sysname:find("Windows") ~= nil
end
---@param plugin string
function M.has(plugin)
return require("lazy.core.config").spec.plugins[plugin] ~= nil