We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.10.0
macos 14.6.1
I have a post request script like the following:
### POST {{baseUrl}}/login content-type: application/json user-agent: {{agent}} { "login-email": "{{username}}", "login-password": "{{password}}", "login-remember": false } # @lang=lua > {% local body = vim.json.decode(response.body) client.global.set("token", "Bearer "..body.jwt) client.global.set("StartDate", os.date("%Y-%m-%dT%H:%M:%SZ", os.time() + 15 * 24 * 3600)) client.global.set("EndDate", os.date("%Y-%m-%dT%H:%M:%SZ", os.time() + 380 * 24 * 3600)) client.global.set("Email", "dev"..math.random(0, 1000).."@briza.com") %}
Following errors pop up when running it.
I am wondering the new version doesn't support lua std library anymore? Is there a workaround?
I can use the lua library in the post request script.
Just issue the request.
No response
lazy.nvim
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 }, }, }, }, })
The text was updated successfully, but these errors were encountered:
08f8d02
Thank you for your report!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Prerequisites
Neovim Version
v0.10.0
Operating system/version
macos 14.6.1
Actual behavior
I have a post request script like the following:
Following errors pop up when running it.

I am wondering the new version doesn't support lua std library anymore? Is there a workaround?
Expected behavior
I can use the lua library in the post request script.
Steps to reproduce
Just issue the request.
Other information
No response
Repro (
lazy.nvim
)The text was updated successfully, but these errors were encountered: