-
-
Notifications
You must be signed in to change notification settings - Fork 624
deprecate open_on_setup #1951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deprecate open_on_setup #1951
Conversation
or opts.open_on_setup_file | ||
or opts.ignore_buffer_on_setup | ||
then | ||
notify.info "open_on_setup behaviour has been deprecated, please see https://github.com/nvim-tree/nvim-tree.lua/wiki/Open-At-Startup" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect people might get upset, however I can't see any other way to do this.
"Open in window from previous session" longer occurs on startup. I'll prepare a PR in case anyone misses it. |
Shouldn't netrw be allowed to work now? Now attempting to open directories is treated as opening a file, as described in #1956 (comment). |
That's a really good point! netrw does have useful functionality including/excluding its "tree" handling. With full control of the startup process, I'd be grateful if you could explore this; some extra functionality may be required however we can address that as it arises. |
References: nvim-tree/nvim-tree.lua#1951 Signed-off-by: Fletcher Nichol <fnichol@nichol.ca>
fixes #1669
Wiki with all the details: https://github.com/nvim-tree/nvim-tree.lua/wiki/Open-At-Startup