File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ local builders = require "nvim-tree.explorer.node-builders"
22local  git  =  require  " nvim-tree.git" 
33local  log  =  require  " nvim-tree.log" 
44local  notify  =  require  " nvim-tree.notify" 
5- local  renderer  =  {} --  circular dependency, will become a member
65local  utils  =  require  " nvim-tree.utils" 
76local  view  =  require  " nvim-tree.view" 
87local  watch  =  require  " nvim-tree.explorer.watch" 
@@ -459,7 +458,7 @@ function Explorer:reload_explorer()
459458  local  projects  =  git .reload ()
460459  self :refresh_nodes (projects )
461460  if  view .is_visible () then 
462-     renderer . draw ()
461+     self . renderer : draw ()
463462  end 
464463  event_running  =  false 
465464end 
@@ -472,7 +471,7 @@ function Explorer:reload_git()
472471
473472  local  projects  =  git .reload ()
474473  explorer_node .reload_node_status (self , projects )
475-   renderer . draw ()
474+   self . renderer : draw ()
476475  event_running  =  false 
477476end 
478477
@@ -481,8 +480,6 @@ function Explorer.setup(opts)
481480  require (" nvim-tree.explorer.node" setup (opts )
482481  require (" nvim-tree.explorer.watch" setup (opts )
483482
484-   renderer  =  require  " nvim-tree.renderer" 
485- 
486483  Marks  =  require  " nvim-tree.marks" 
487484  Clipboard  =  require  " nvim-tree.actions.fs.clipboard" 
488485end 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments