We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ded89d commit 6125601Copy full SHA for 6125601
lua/rest-nvim/parser/init.lua
@@ -47,6 +47,8 @@ end
47
---@return string
48
---@return integer
49
local function expand_variables(src, context)
50
+ -- remove $dotenv tags, which are used by the vscode rest client for cross compatibility
51
+ src = src:gsub("%$dotenv ", ""):gsub("%$DOTENV ", "")
52
return src:gsub("{{(.-)}}", function(name)
53
name = vim.trim(name)
54
local res = context:resolve(name)
0 commit comments