refactor(#2826): rename View to Window
This commit is contained in:
@@ -378,7 +378,7 @@ end
|
||||
|
||||
---@private
|
||||
function Builder:build_header()
|
||||
if self.explorer.view:is_root_folder_visible(self.explorer.absolute_path) then
|
||||
if self.explorer.window:is_root_folder_visible(self.explorer.absolute_path) then
|
||||
local root_name = self:format_root_name(self.explorer.opts.renderer.root_folder_label)
|
||||
table.insert(self.lines, root_name)
|
||||
self:insert_highlight({ "NvimTreeRootFolder" }, 0, string.len(root_name))
|
||||
|
||||
Reference in New Issue
Block a user