neo-tree.nvim icon indicating copy to clipboard operation
neo-tree.nvim copied to clipboard

FEATURE: Know if the neo-tree window is opened

Open Curs3W4ll opened this issue 1 year ago • 2 comments

Did you check the docs?

  • [X] I have read all the docs.

Is your feature request related to a problem? Please describe.

Hey there,

I searched a lot about this feature, that I know NerdTree has for example, but I couldn't find anything.

Is there any way to know if the neo-tree window is opened/shown?

Describe the solution you'd like.

Some function for the lua module or a global variable

Describe alternatives you've considered.

I haven't find any solution yet

Additional Context

No response

Curs3W4ll avatar Feb 05 '24 04:02 Curs3W4ll

This can and should be added. For right now this code snippet works:

https://github.com/nvim-neo-tree/neo-tree.nvim/discussions/826#discussioncomment-5431757

cseickel avatar Feb 05 '24 13:02 cseickel

Will this feature be brought to neo-tree directly?

If not, this issue can be closed

Curs3W4ll avatar Apr 04 '24 22:04 Curs3W4ll