ITADN

Adding context in curl yank command

#563Opensheenazien8 创建于 2026-01-03
bug
S
sheenazien8commented
### Prerequisites - [x] I am using the latest stable release of Neovim - [x] I am using the latest version of the plugin - [x] I can reproduce the bug with minimal config below ### Neovim Version v0.11.5 ### Operating system/version MacOS 15.1 ### Actual behavior In yank curl command doesn't copied the baseUrl when the baseUrl is from env ### Expected behavior I think the `yank curl` command should copy the `baseUrl` even from the environment variables. ### Steps to reproduce select the .env that you want to use then run the Rest curl yank commands ### Minimal config for repro (using `lazy.nvim`) ```lua vim.env.LAZY_STDPATH = ".repro" load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))() require("lazy.minit").repro({ spec = { "rest-nvim/rest.nvim", { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", main = "nvim-treesitter.configs", opts = { ensure_installed = { "http" }, sync_install = false, highlight = { enable = true }, indent = { enable = true }, }, }, }, }) ``` ### Other information I already fixed it in my fork, https://github.com/sheenazien8/rest.nvim/commit/81455f1021c027617c71a7fae0cbf79a8a3ecb3a If this approach looks good to you, I’d be happy to open a pull request or adjust the implementation based on your feedback.
0 条评论