Skip to content

avoid using '$NVIM_LISTEN_ADDRESS' to pass address to python script #75

@goulf-3m

Description

@goulf-3m

As I see, the use of this envvar is for private purpose: to pass nvim address to python script.
So well-known envvar names should not be used to avoid collision.

Actually, this causes a problem when flatten.nvim is used: in a :terminal, setting this envvar causes child nvim process to exit immediately, before flatten.nvim mechanism takes effect.
The child nvim tries to bind to the address, which is already taken by the parent nvim!

I renamed this envvar (all relevant references to this name) in this package, and it still works correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions