plugins.rest.extraOptions.client
The HTTP client to be used when running requests.
Type: null or string or raw lua code
Default:
null
Plugin default: "curl"
Declared by:
plugins.rest.extraOptions.custom_dynamic_variables
Custom dynamic variables. Keys are variable names and values are lua functions.
default: {}
Type: null or (attribute set of lua function string) or raw lua code
Default:
null
Example:
{
"\$randomInt" = ''
function()
return math.random(0, 1000)
end
'';
"\$timestamp" = "os.time";
}
Declared by:
plugins.rest.extraOptions.encode_url
Encode URL before making request.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.rest.extraOptions.env_edit_command
Neovim command to edit an environment file.
Type: null or string or raw lua code
Default:
null
Plugin default: "tabedit"
Declared by:
plugins.rest.extraOptions.env_file
Environment variables file to be used for the request variables in the document.
Type: null or string or raw lua code
Default:
null
Plugin default: ".env"
Declared by:
plugins.rest.extraOptions.env_pattern
Environment variables file pattern for telescope.nvim
.
Type: null or string or raw lua code
Default:
null
Plugin default: "\\.env$"
Declared by:
plugins.rest.extraOptions.keybinds
Declare some keybindings. Format: list of 3 strings lists: key, action and description.
Type: null or (list of ((list of string) or raw lua code))
Default:
null
Plugin default:
[
[
"<localleader>rr"
"<cmd>Rest run<cr>"
"Run request under the cursor"
]
[
"<localleader>rl"
"<cmd>Rest run last<cr>"
"Re-run latest request"
]
]
Declared by:
plugins.rest.extraOptions.skip_ssl_verification
Skip SSL verification, useful for unknown certificates.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by: