diff --git a/lua/oil/util.lua b/lua/oil/util.lua index 4221752e..f5c63e2a 100644 --- a/lua/oil/util.lua +++ b/lua/oil/util.lua @@ -375,7 +375,6 @@ M.get_title = function(winid) if config.adapters[scheme] == "files" then assert(path) local fs = require("oil.fs") - title = vim.fn.fnamemodify(fs.posix_to_os_path(path), ":~") end return title