Skip to content
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

Neo-tree show/close commands outdated #212

Closed
RANKSHANK opened this issue Mar 18, 2023 · 3 comments · Fixed by #213
Closed

Neo-tree show/close commands outdated #212

RANKSHANK opened this issue Mar 18, 2023 · 3 comments · Fixed by #213

Comments

@RANKSHANK
Copy link

 Error 09:28:38 msg_show.lua_error Error executing Lua callback: ...e/nvim/lazy/no-neck-pain.nvim/lua/no-neck-pain/trees.lua:74: Vim:E492: Not an editor command: NeoTreeClose
I'm getting a non existent command error attempting to toggle this while neotree is open

close = "NeoTreeClose",
open = "NeoTreeReveal",

It looks like here is where the culprits are, these were deprecated in neo-tree 2.0, not sure if there was a recent neo-tree commit removing the vim commands or if it was the fixes in #191 bringing the issue to light, but following the new neo-tree arg spec it should be:
Neotree close instead of NeoTreeClose
Neotree show instead of NeoTreeReveal

@shortcuts
Copy link
Owner

Hey, thanks for opening this issue!

This is weird that you have this issue, the NeoTreeClose and NeoTreeReveal commands are still available 🤔

I'll however still switch to the new format, so thanks for pointing this out!

shortcuts added a commit that referenced this issue Mar 19, 2023
## 📃 Summary

closes #212

leverages new commands deprecated of outdated ones
@shortcuts
Copy link
Owner

released in 1.2.0, sorry for the inconvenience!

@RANKSHANK
Copy link
Author

Thanks for the quick fix and the great addon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants