Skip to content

[Feature request] Support mode for env variables. #68

@AllenDang

Description

@AllenDang

Nice work! This is the restclient I'm looking for a long time.

Here is a common case when I test restful api in day to day work.

Define a env named {{base_url}} in both production and local modes. So I could switch to local to test the code in local server, and switch to prod after deployment.

The {{base_url}} may looks like this.

In production mode, base_url is http://xyz.abc/api/v1.0/something, and in local mode base_url is http://localhost:8080.

If rest.nvim could support this, I could replace my rest client for good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions