Skip to content

api.tree.winid() #2544

Closed
Closed
@alex-courtis

Description

@alex-courtis

Discussed in #2532

Originally posted by j-hui November 14, 2023
I'm trying to see if I can get Fidget to avoid rendering on top of the nvim-tree window when it's open. I see there's already an event subscription mechanism, but is there any way to dynamically query the position and width of the nvim-tree window?

I saw this question but it suggests the only option is to enumerate through all window IDs and search for the nvim-tree window. Is there any API that is more direct?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIAPI or EventPR pleasenvim-tree team does not have the bandwidth to implement; a PR will be gratefully appreciated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions