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.
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