File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -435,4 +435,27 @@ function M.setup(conf)
435
435
M .on_enter (opts )
436
436
end
437
437
438
+ local out_config = {
439
+ " nvim_tree_disable_netrw" ,
440
+ " nvim_tree_hijack_netrw" ,
441
+ " nvim_tree_auto_open" ,
442
+ " nvim_tree_auto_close" ,
443
+ " nvim_tree_tab_open" ,
444
+ " nvim_tree_update_cwd" ,
445
+ " nvim_tree_hijack_cursor" ,
446
+ " nvim_tree_system_open_command" ,
447
+ " nvim_tree_system_open_command_args" ,
448
+ " nvim_tree_follow" ,
449
+ " nvim_tree_follow_update_path" ,
450
+ }
451
+
452
+ local x = vim .tbl_filter (function (v )
453
+ return vim .fn .exists (' g:' .. v ) ~= 0
454
+ end , out_config )
455
+
456
+ if # x > 0 then
457
+ local msg = " following options are now set in the setup, please read the new documentation for the setup function: "
458
+ require ' nvim-tree.utils' .echo_warning (msg .. table.concat (x , " | " ))
459
+ end
460
+
438
461
return M
You can’t perform that action at this time.
0 commit comments