5454 ' NTBBloodbath/rest.nvim' ,
5555 requires = { ' nvim-lua/plenary.nvim' },
5656 config = function ()
57- require (' rest-nvim' ).setup ({
58- result_split_horizontal = false ,
59- })
57+ require (" rest-nvim" ).setup ({
58+ -- Open request results in a horizontal split
59+ result_split_horizontal = false ,
60+ -- Skip SSL verification, useful for unknown certificates
61+ skip_ssl_verification = false ,
62+ })
6063 end
6164}
6265```
@@ -66,12 +69,17 @@ use {
6669By default ` rest.nvim ` does not have any key mappings so you will not have
6770conflicts with any of your existing ones.
6871
69- To run ` rest.nvim ` you should map the ` <Plug>RestNvim ` and ` <Plug>RestNvimPreview ` commands.
72+ To run ` rest.nvim ` you should map the following commands:
73+ - ` <Plug>RestNvim ` , run the request under the cursor
74+ - ` <Plug>RestNvimPreview ` , preview the request cURL command
75+ - ` <Plug>RestNvimLast ` , re-run the last request
7076
7177## Settings
7278
73- * ` result_split_horizontal ` opens result on a horizontal split (default opens
74- on vertical)
79+ - ` result_split_horizontal ` opens result on a horizontal split (default opens
80+ on vertical)
81+ - ` skip_ssl_verification ` passes the ` -k ` flag to cURL in order to skip SSL verification,
82+ useful when using unknown certificates
7583
7684## Usage
7785
0 commit comments