chore(oil): switch winbar for statusline
This commit is contained in:
parent
1c69d73784
commit
31a902784d
1 changed files with 1 additions and 2 deletions
|
|
@ -6,7 +6,6 @@ return {
|
|||
CustomOilBar = function()
|
||||
local path = vim.fn.expand "%"
|
||||
path = path:gsub("oil://", "")
|
||||
|
||||
return " " .. vim.fn.fnamemodify(path, ":.")
|
||||
end
|
||||
|
||||
|
|
@ -27,7 +26,7 @@ return {
|
|||
["g."] = "actions.toggle_hidden",
|
||||
},
|
||||
win_options = {
|
||||
winbar = "%{v:lua.CustomOilBar()}",
|
||||
statusline = "%{v:lua.CustomOilBar()}",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue