feat: add update_focused_file.exclude (#2673)
* Add update_focused_file.exclude and move update_focused_file.ignore_list to update_focused_file.update_root.ignore_list * Pass ci checks * Add config migration for update_root and ignore_list * Missed one mention of update root in find_file.lua * Update migration code Co-authored-by: Alexander Courtis <alex@courtis.org> * make docs consistent * match on filename instead of entire path * exclude as a function * fix docs * default exclude value --------- Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
@@ -55,7 +55,7 @@ function M.fn(opts)
|
||||
end
|
||||
|
||||
-- update root
|
||||
if opts.update_root or M.config.update_focused_file.update_root then
|
||||
if opts.update_root or M.config.update_focused_file.update_root.enable then
|
||||
require("nvim-tree").change_root(path, bufnr)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user