54
54
' NTBBloodbath/rest.nvim' ,
55
55
requires = { ' nvim-lua/plenary.nvim' },
56
56
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
+ })
60
63
end
61
64
}
62
65
```
@@ -66,12 +69,17 @@ use {
66
69
By default ` rest.nvim ` does not have any key mappings so you will not have
67
70
conflicts with any of your existing ones.
68
71
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
70
76
71
77
## Settings
72
78
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
75
83
76
84
## Usage
77
85
0 commit comments