mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 17:58:51 +02:00
feat(lualine): pretty_path now highlights file basename when modified
This commit is contained in:
parent
782fe0bef0
commit
8af7309c7e
4 changed files with 69 additions and 37 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue