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
nvim NvimTree.lua
does not open
#1629
Comments
This is working as intended. |
Actually, my "Steps to reproduce" had an error
opens NvimTree (and NOT the file), which seems to make no sense (the "NvimTreeOpen" call in the issue was a typo) I think this is still an issue so reopen it if you agree with the above correction. |
It is likely to do with runtime paths; there is already an Rename it and you should be fine. |
Then accessing NvimTree.lua file is impossible. Should I just change the contents into an autocmd? |
Apologies, I was incorrect... there is no other Same thing occurs when opening Changing to an autocmd should work if it's possible. |
nvim NvimTree.lua
does not open
caused by #1618. |
@barrett-ruth please test fix branch: cd /path/to/nvim-tree.lua
git pull
git checkout 1629-cannot-start-with-buffer-named-NvimTree When you're done, checkout master or nightly. |
Works perfectly. thanks! |
…instead of buffer" This reverts commit e713607.
…of buffer (#1634) * fix(#1629): nvim start with file named *NvimTree* opens tree instead of buffer * Revert "fix(#1629): nvim start with file named *NvimTree* opens tree instead of buffer" This reverts commit e713607. * fix(#1629): nvim start with file named *NvimTree* treats file as tree * fix(#1629): nvim start with file named *NvimTree* treats file as tree
… instead of buffer (nvim-tree#1634) * fix(nvim-tree#1629): nvim start with file named *NvimTree* opens tree instead of buffer * Revert "fix(nvim-tree#1629): nvim start with file named *NvimTree* opens tree instead of buffer" This reverts commit e713607. * fix(nvim-tree#1629): nvim start with file named *NvimTree* treats file as tree * fix(nvim-tree#1629): nvim start with file named *NvimTree* treats file as tree
…1640) * fix(#1629): nvim start with file named *NvimTree* opens tree instead of buffer * Revert "fix(#1629): nvim start with file named *NvimTree* opens tree instead of buffer" This reverts commit e713607. * fix(#1629): nvim start with file named *NvimTree* treats file as tree * fix(#1629): nvim start with file named *NvimTree* treats file as tree * fix(#1639): ensure tree autocommands match filetype as well as name * fix(#1639): fix bad merge * fix(#1639): ensure tree autocommands match filetype as well as name
Description
I have some custom mappings stored in
nvim/after/ftplugin/NvimTree.lua
to run on filetype NvimTree. Opening this file vianvim after/ftplugin/NvimTree.lua
actually opens NvimTree on that file and not the file itself.Neovim version
Operating system and version
arch
nvim-tree version
7282f7d -n 1
Minimal config
Steps to reproduce
Expected behavior
nvim-tree actually opens the file NvimTree.lua
Actual behavior
the plugin NvimTree itself opens, not the file
The text was updated successfully, but these errors were encountered: